| Copyright | (C) 2017 ATS Advanced Telematic Systems GmbH Li-yao Xia |
|---|---|
| License | BSD-style (see the file LICENSE) |
| Maintainer | Li-yao Xia <lysxia@gmail.com> |
| Stability | provisional |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Test.StateMachine.Types.HFunctor.TH
Description
Template Haskell functions to derive higher-order structures.
- deriveHClasses :: Name -> Q [Dec]
- deriveHTraversable :: Name -> Q [Dec]
- mkhtraverse :: Name -> Q Exp
- deriveHFoldable :: Name -> Q [Dec]
- mkhfoldMap :: Name -> Q Exp
- deriveHFunctor :: Name -> Q [Dec]
- mkhfmap :: Name -> Q Exp
Documentation
deriveHClasses :: Name -> Q [Dec] Source #
Derive HFunctor, HFoldable, HTraversable.
deriveHTraversable :: Name -> Q [Dec] Source #
deriveHTraversable''Action ===> instanceHTraversableAction where ...
deriveHFoldable :: Name -> Q [Dec] Source #
deriveHFoldable''Action ===> instanceHFoldableAction where ...
deriveHFunctor :: Name -> Q [Dec] Source #
deriveHFunctor''Action ===> instanceHFunctorAction where ...