Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Compatibility layer between prettyprinter
and wl-pprint-text
Synopsis
- type Doc = Doc ()
- type SimpleDoc = SimpleDocStream ()
- renderOneLine :: Doc -> SimpleDoc
- isEmpty :: Doc -> Bool
- linebreak :: Doc
- softbreak :: Doc
- mkLayoutOptions :: Double -> Int -> LayoutOptions
Documentation
type SimpleDoc = SimpleDocStream () Source #
Simple document without annotations
renderOneLine :: Doc -> SimpleDoc Source #
mkLayoutOptions :: Double -> Int -> LayoutOptions Source #