ormolu-0.8.0.0: A formatter for Haskell source code
Safe HaskellNone
LanguageGHC2021

Ormolu.Printer.Meat.Type

Description

Rendering of types.

Synopsis

Documentation

hasDocStrings :: HsType GhcPs -> Bool Source #

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

p_hsContext' :: HasLoc (Anno a) => (a -> R ()) -> [XRec GhcPs a] -> R () Source #

p_hsTyVarBndr :: IsTyVarBndrFlag flag => HsTyVarBndr flag GhcPs -> R () Source #

p_forallBndrs :: HasLoc l => ForAllVisibility -> (a -> R ()) -> [GenLocated l a] -> R () Source #

Render several forall-ed variables.