ormolu-0.0.2.0: A formatter for Haskell source code

Safe HaskellNone
LanguageHaskell2010

Ormolu.Printer.Meat.Type

Description

Rendering of types.

Synopsis

Documentation

p_hsType :: HsType GhcPs -> R () Source #

hasDocStrings :: HsType GhcPs -> Bool Source #

Return True if at least one argument in HsType has a doc string attached to it.

p_hsContext :: HsContext GhcPs -> R () Source #

p_hsTyVarBndr :: HsTyVarBndr GhcPs -> R () Source #

p_forallBndrs :: Data a => (a -> R ()) -> [Located a] -> R () Source #

Render several forall-ed variables.

p_conDeclFields :: [LConDeclField GhcPs] -> R () Source #

tyVarsToTypes :: LHsQTyVars GhcPs -> [LHsType GhcPs] Source #