Safe Haskell | None |
---|
This module implements the desugaring pass which replaces top-level type declarations with type annotations on the corresponding expression.
- desugarTypeDeclarations :: [Declaration] -> Either String [Declaration]
- desugarTypeDeclarationsModule :: [Module] -> Either String [Module]
Documentation
desugarTypeDeclarations :: [Declaration] -> Either String [Declaration]Source
Replace all top level type declarations with type annotations