Safe Haskell | None |
---|---|
Language | Haskell2010 |
This module implements the desugaring pass which replaces top-level type declarations with type annotations on the corresponding expression.
Synopsis
- desugarTypeDeclarationsModule :: forall m. MonadError MultipleErrors m => Module -> m Module
Documentation
desugarTypeDeclarationsModule :: forall m. MonadError MultipleErrors m => Module -> m Module Source #
Replace all top level type declarations in a module with type annotations