Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- deriveJSONGADT :: Name -> DecsQ
- decCons :: Dec -> [Con]
- conName :: Con -> Name
- conArity :: Con -> Int
- deriveGADTInstances :: Name -> DecsQ
- deriveToJSONGADT :: Name -> DecsQ
- deriveFromJSONGADT :: Name -> DecsQ
- conMatchesEqTagged :: Con -> [MatchQ]
- conMatchesToJSON :: Con -> MatchQ
- conMatchesParseJSON :: ExpQ -> Con -> MatchQ
Documentation
deriveGADTInstances :: Name -> DecsQ Source #
Deprecated: Use deriveJSONGADT instead
deriveToJSONGADT :: Name -> DecsQ Source #
deriveFromJSONGADT :: Name -> DecsQ Source #