| Portability | non-portable |
|---|---|
| Stability | experimental |
| Maintainer | Richard Eisenberg (eir@cis.upenn.edu) |
| Safe Haskell | None |
Language.Haskell.TH.Desugar.Expand
Description
Expands type synonyms and open type families in desugared types, ignoring closed type families. See also the package th-expand-syns for doing this to non-desugared types.
Documentation
expandType :: Quasi q => DType -> q DTypeSource
Expands all type synonyms in a desugared type. Also expands open type family applications, as long as the arguments have no free variables.