ban-instance: For when a type should never be an instance of a class
Banning an instance allows the programmer to actively declare that an instance should never be defined, and provide a reason why:
data Foo = -- ... $(banInstance [t|ToJSON Foo|] "why ToJSON Foo should never be defined")
[Skip to Readme]
Downloads
- ban-instance-0.1.0.1.tar.gz [browse] (Cabal source package)
- Package description (revised from the package)
Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.
Versions [RSS] | 0.1.0.0, 0.1.0.1 |
---|---|
Change log | ChangeLog.md |
Dependencies | base (>=4.7 && <4.17), template-haskell (>=2.11 && <2.19) [details] |
License | BSD-3-Clause |
Copyright | (c) 2017, Commonwealth Scientific and Industrial Research Organisation |
Author | Jack Kelly, Alex Mason |
Maintainer | jack.kelly@data61.csiro.au |
Revised | Revision 2 made by jack at 2022-03-23T02:41:20Z |
Category | Haskell |
Home page | https://github.com/qfpl/ban-instance#readme |
Bug tracker | https://github.com/qfpl/ban-instance/issues |
Source repo | head: git clone https://github.com/qfpl/ban-instance |
Uploaded | by qfpl at 2019-11-08T06:42:56Z |
Distributions | NixOS:0.1.0.1 |
Downloads | 716 total (7 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs uploaded by user Build status unknown [no reports yet] |