wl-pprint-extras 3.0 → 3.0.0.1
raw patch · 2 files changed
+4/−4 lines, 2 files
Files
Text/PrettyPrint/Free/Internal.hs view
@@ -246,7 +246,7 @@ -- inserts a @line@ and continues doing that for all documents in -- @xs@. ----- > fillSep xs = foldr (\<\/\>) empty xs+-- > fillSep xs = foldr (</>) empty xs fillSep :: Foldable f => f (Doc e) -> Doc e fillSep = fold (</>) @@ -300,7 +300,7 @@ -- horizontally with @(\<\>)@ as long as its fits the page, than inserts -- a @linebreak@ and continues doing that for all documents in @xs@. ----- > fillCat xs = foldr (\<\/\/\>) empty xs+-- > fillCat xs = foldr (<//>) empty xs fillCat :: Foldable f => f (Doc e) -> Doc e fillCat = fold (<//>)
wl-pprint-extras.cabal view
@@ -1,6 +1,6 @@ name: wl-pprint-extras category: Control, Monads, Text-version: 3.0+version: 3.0.0.1 cabal-version: >= 1.6 license: BSD3 license-file: LICENSE@@ -9,7 +9,7 @@ stability: experimental homepage: http://github.com/ekmett/wl-pprint-extras/ bug-reports: http://github.com/ekmett/wl-pprint-extras/issues-copyright: Copyright (C) 2011 Edward A. Kmett,+copyright: Copyright (C) 2011-2012 Edward A. Kmett, Copyright (C) 2000 Daan Leijen synopsis: A free monad based on the Wadler/Leijen pretty printer description: A free monad based on the Wadler/Leijen pretty printer