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 |
Grisette.Internal.TH.GADT.DeriveGADT
Description
Synopsis
- deriveGADT :: Name -> [Name] -> Q [Dec]
- deriveGADTAll :: Name -> Q [Dec]
- deriveGADTAllExcept :: Name -> [Name] -> Q [Dec]
Documentation
deriveGADT :: Name -> [Name] -> Q [Dec] Source #
Derive the specified classes for a GADT with the given name.
Support the following classes.