| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
DataFrame.Internal.Pretty
Description
Documentation
A soft break: a single space when its enclosing group fits the width,
otherwise a newline + current indentation.
Lay the document out flat if it fits the remaining width, broken otherwise.
parensWhenBroken :: Doc -> Doc Source #
Render d bare when it fits flat on the current line, wrapped in parens when
it must break across lines. Keeps operator grouping unambiguous once a
sub-expression wraps, without parenthesis noise on one-line expressions.
defaultWidth :: Int Source #