ajhc-0.8.0.6: Haskell compiler that produce binary through C language

Safe HaskellNone

FrontEnd.TypeSynonyms

Synopsis

Documentation

declsToTypeSynonyms :: MonadWarn m => TypeSynonyms -> [HsDecl] -> m TypeSynonymsSource

convert a set of type synonym declarations to a synonym map used for efficient synonym expansion

convert a set of type synonym declarations to a synonym map used for efficient synonym expansion, expanding out the body of synonyms along the way.

showSynonym :: (DocLike d, Monad m) => (HsType -> d) -> Name -> TypeSynonyms -> m dSource