ban-instance: For when a type should never be an instance of a class
This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.
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]
Properties
Versions | 0.1.0.0, 0.1.0.1, 0.1.0.1 |
---|---|
Change log | ChangeLog.md |
Dependencies | base (>=4.7 && <4.14), template-haskell (>=2.11 && <2.16) [details] |
License | BSD-3-Clause |
Copyright | Copyright (C) 2017 Data61 |
Author | Jack Kelly, Alex Mason |
Maintainer | jack.kelly@data61.csiro.au |
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:38Z |
Modules
[Index] [Quick Jump]
- Language
- Haskell
- Instance
- Haskell
Downloads
- ban-instance-0.1.0.1.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
Package maintainers
For package maintainers and hackage trustees