Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
The user-facing API of the normalizer.
Synopsis
- normalizeType :: (HasUnique tyname TypeUnique, MonadNormalizeType uni m) => Type tyname uni ann -> m (Normalized (Type tyname uni ann))
- normalizeTypesIn :: (HasUnique tyname TypeUnique, HasUnique name TermUnique, MonadNormalizeType uni m) => Term tyname name uni fun ann -> m (Term tyname name uni fun ann)
- normalizeTypesInProgram :: (HasUnique tyname TypeUnique, HasUnique name TermUnique, MonadNormalizeType uni m) => Program tyname name uni fun ann -> m (Program tyname name uni fun ann)
Documentation
normalizeType :: (HasUnique tyname TypeUnique, MonadNormalizeType uni m) => Type tyname uni ann -> m (Normalized (Type tyname uni ann)) Source #
Normalize a Kind
.
normalizeTypesIn :: (HasUnique tyname TypeUnique, HasUnique name TermUnique, MonadNormalizeType uni m) => Term tyname name uni fun ann -> m (Term tyname name uni fun ann) Source #
normalizeTypesInProgram :: (HasUnique tyname TypeUnique, HasUnique name TermUnique, MonadNormalizeType uni m) => Program tyname name uni fun ann -> m (Program tyname name uni fun ann) Source #