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
- deriveGADTToSym :: DeriveConfig -> Name -> Q [Dec]
- deriveGADTToSym1 :: DeriveConfig -> Name -> Q [Dec]
- deriveGADTToSym2 :: DeriveConfig -> Name -> Q [Dec]
Documentation
deriveGADTToSym :: DeriveConfig -> Name -> Q [Dec] Source #
Derive ToSym
instance for a GADT.
deriveGADTToSym1 :: DeriveConfig -> Name -> Q [Dec] Source #
Derive ToSym1
instance for a GADT.
deriveGADTToSym2 :: DeriveConfig -> Name -> Q [Dec] Source #
Derive ToSym2
instance for a GADT.