Module
Sigil.Text
- Package
- purescript-sigil
- Repository
- afcondon/purescript-sigil
Pure text rendering and type variable collection utilities.
#renderTypeToText Source
renderTypeToText :: RenderType -> StringRender a RenderType back to plain text.
#constraintText Source
constraintText :: Constraint -> StringRender a constraint to plain text (for measurement and display).
#collectTypeVars Source
collectTypeVars :: RenderType -> Set StringCollect all type variable names from a RenderType.
#collectArrowParams Source
collectArrowParams :: RenderType -> Array RenderTypeCollect all params of an arrow chain (including return type at end).
#collectForallVars Source
collectForallVars :: RenderType -> Array StringCollect all forall-quantified variable names (including nested foralls).