Module
Pursfmt.Doc
- Package
- purescript-pursfmt
- Repository
- ad-si/pursfmt
#LeadingComment Source
newtype LeadingComment aConstructors
LeadingComment { doc :: Doc a, left :: ForceBreak, lines :: Int, multiline :: Boolean, right :: ForceBreak }
Instances
#TrailingComment Source
newtype TrailingComment aConstructors
TrailingComment { doc :: Doc a, left :: ForceBreak, multiline :: Boolean, right :: ForceBreak }
Instances
#ForceBreak Source
#alignCurrentColumn Source
alignCurrentColumn :: forall a. FormatDoc a -> FormatDoc a#locally Source
locally :: forall a. (LocalOptions -> LocalOptions) -> FormatDoc a -> FormatDoc a#break Source
break :: forall a. FormatDocOperator a#softBreak Source
softBreak :: forall a. FormatDocOperator a#spaceBreak Source
spaceBreak :: forall a. FormatDocOperator a#space Source
space :: forall a. FormatDocOperator a#softSpace Source
softSpace :: forall a. FormatDocOperator a#flexSpaceBreak Source
flexSpaceBreak :: forall a. FormatDocOperator a#flexSpaceOrBreak Source
flexSpaceOrBreak :: forall a. FormatDocOperator a#flexSoftSpace Source
flexSoftSpace :: forall a. FormatDocOperator a#flexSoftBreak Source
flexSoftBreak :: forall a. FormatDocOperator a#flexDoubleBreak Source
flexDoubleBreak :: forall a. FormatDocOperator aWarning: This is not an associative join operation, and requires right associativity. You will always get double breaks when used with left associativity.