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'.
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
Versions [RSS] | 0.1.0.0, 0.1.0.1 |
---|---|
Change log | ChangeLog.md |
Dependencies | base (>=4.7 && <4.20), template-haskell (>=2.11 && <2.22) [details] |
Tested with | ghc ==8.0.2 || ==8.2.2 || ==8.4.4 || ==8.6.5 || ==8.8.1 || ==8.10.7 || ==9.0.1 || ==9.2.1 |
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 4 made by jack at 2024-05-02T05:42:32Z |
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 | |
Downloads | 865 total (5 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] |