Module
Tidy.Doc
- Package
- purescript-tidy
- Repository
- natefaubion/purescript-tidy
#LeadingComment Source
newtype LeadingComment a
Constructors
LeadingComment { doc :: Doc a, left :: ForceBreak, lines :: Int, multiline :: Boolean, right :: ForceBreak }
Instances
#TrailingComment Source
newtype TrailingComment a
Constructors
TrailingComment { doc :: Doc a, left :: ForceBreak, multiline :: Boolean, right :: ForceBreak }
Instances
#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
#flexSoftSpace Source
flexSoftSpace :: forall a. FormatDocOperator a
#flexSoftBreak Source
flexSoftBreak :: forall a. FormatDocOperator a
#flexDoubleBreak Source
flexDoubleBreak :: forall a. FormatDocOperator a
Warning: This is not an associative join operation, and requires right associativity. You will always get double breaks when used with left associativity.