Copyright | (c) 2019-2021 Rudy Matela |
---|---|
License | 3-Clause BSD (see the file LICENSE) |
Maintainer | Rudy Matela <rudy@matela.com.br> |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Allows automatic derivation of Express
typeclass instances.
Synopsis
- deriveExpress :: Name -> DecsQ
- deriveExpressCascading :: Name -> DecsQ
- deriveExpressIfNeeded :: Name -> DecsQ
Documentation
deriveExpress :: Name -> DecsQ Source #
deriveExpressCascading :: Name -> DecsQ Source #
deriveExpressIfNeeded :: Name -> DecsQ Source #
Same as deriveExpress
but does not warn when instance already exists
(deriveExpress
is preferable).