Safe Haskell | Trustworthy |
---|---|
Language | Haskell2010 |
Declares serveral templates for comfortable instance derivation
- mkScanner :: Name -> Q [Dec]
- mkPrinter :: Name -> Q [Dec]
- mkFinalizer :: Name -> Q [Dec]
- mkExpander :: Name -> Q [Dec]
- mkExpanderEnv :: Name -> Q [Dec]
- mkHistoryEnv :: Name -> Q [Dec]
- mkInteractor :: InteractorMaker i => Name -> i
- mkSpawn :: Name -> Q [Dec]
- mkRandom :: Name -> Q [Dec]
- mkClock :: Name -> Q [Dec]
- mkChatty :: Name -> Q [Dec]
- mkChannelPrinter :: Name -> Name -> Q [Dec]
- mkDefCP :: Name -> Q [Dec]
- mkArchiver :: Name -> Q [Dec]
- mkExtendedPrinter :: Name -> Q [Dec]
- mkBufferedScanner :: Name -> Q [Dec]
- mkCounter :: Name -> Q [Dec]
- mkAtoms :: Name -> Q [Dec]
- mkFilesys :: Name -> Q [Dec]
Documentation
mkFinalizer :: Name -> Q [Dec] Source
Automatically derives a ChFinalizer instance for you.
mkExpander :: Name -> Q [Dec] Source
Automatically derives a ChExpand instance for you.
mkExpanderEnv :: Name -> Q [Dec] Source
Automatically derives an ChExpanderEnv instance for you
mkHistoryEnv :: Name -> Q [Dec] Source
Automatically derives a ChHistoryEnv instance for you
mkInteractor :: InteractorMaker i => Name -> i Source
mkInteractor takes a type name and a list of typeclass derivers and applies them all.
mkChannelPrinter :: Name -> Name -> Q [Dec] Source
Automatically derives a ChChannelPrinter instance for you.
mkArchiver :: Name -> Q [Dec] Source
Automatically derives all chatty typeclasses that are sensible for an ArchiverT.
mkExtendedPrinter :: Name -> Q [Dec] Source
Automatically derives an ChExtendedPrinter instance for you.
mkBufferedScanner :: Name -> Q [Dec] Source
Automatically derives a ChBufferedScanner instance for you.