Copyright | (c) Sirui Lu 2024 |
---|---|
License | BSD-3-Clause (see the LICENSE file) |
Maintainer | siruilu@cs.washington.edu |
Stability | Experimental |
Portability | GHC only |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- deriveGADTSubstSym :: DeriveConfig -> Name -> Q [Dec]
- deriveGADTSubstSym1 :: DeriveConfig -> Name -> Q [Dec]
- deriveGADTSubstSym2 :: DeriveConfig -> Name -> Q [Dec]
Documentation
deriveGADTSubstSym :: DeriveConfig -> Name -> Q [Dec] Source #
Derive SubstSym
instance for a GADT.
deriveGADTSubstSym1 :: DeriveConfig -> Name -> Q [Dec] Source #
Derive SubstSym1
instance for a GADT.
deriveGADTSubstSym2 :: DeriveConfig -> Name -> Q [Dec] Source #
Derive SubstSym2
instance for a GADT.