| Portability | see LANGUAGE pragmas (... GHC) |
|---|---|
| Stability | experimental |
| Maintainer | nicolas.frisby@gmail.com |
| Safe Haskell | None |
Type.Spine
Description
The spine-view on types.
Documentation
spineType_d :: Name -> Q [Dec]Source
spineType_d n generates the Spine instance for the type named n.
spineType_d_ :: Name -> [Kind] -> Q [Dec]Source
spineType_d_ n ks generates the Spine instance for the type named n
that has parameters with kinds ks.
spineType_pro :: Name -> Q [Dec]Source
spineType_pro n generates the Spine instance for the promoted data constructor named n.