Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
The abstract data type Doc
represents pretty documents.
Doc
is an instance of the Show
class. (show doc)
pretty
prints document doc
with a page width of 100 characters and a
ribbon width of 40 characters.
show (text "hello" <$> text "world")
Which would return the string "hello\nworld", i.e.
hello world
ppTotalDur :: Double -> Doc Source #