wl-pprint-extras 1.6 → 1.6.1
raw patch · 2 files changed
+10/−11 lines, 2 filesdep ~basedep ~semigroupoids
Dependency ranges changed: base, semigroupoids
Files
Text/PrettyPrint/Free/Internal.hs view
@@ -120,7 +120,6 @@ import Data.String import Data.Foldable hiding (fold) import Data.Traversable-import Data.Monoid import Data.Functor.Apply import Data.Functor.Bind import Data.Functor.Plus@@ -336,7 +335,7 @@ -- next to each other (with a @space@ in between) or underneath each -- other. (infixr 5) (</>) :: Doc e -> Doc e -> Doc e-x </> y = x <> softline <> y+x </> y = x <> softline <> y -- | The document @(x \<\/\/\> y)@ concatenates document @x@ and @y@ with -- a 'softbreak' in between. This effectively puts @x@ and @y@ either@@ -921,7 +920,7 @@ --nicest :: r = ribbon width, w = page width, -- n = indentation of current line, k = current column -- x and y, the (simple) documents to chose from.- -- precondition: first lines of x are longer than the first lines of y.+ -- precondition: first line of x are longer than the first line of y. nicest n k x' y | fits wid x' = x' | otherwise = y where
wl-pprint-extras.cabal view
@@ -1,6 +1,6 @@ name: wl-pprint-extras category: Control, Monads, Text-version: 1.6+version: 1.6.1 cabal-version: >= 1.6 license: BSD3 license-file: LICENSE@@ -20,15 +20,15 @@ library - build-depends: - base >= 4 && < 5,- containers >= 0.4 && < 0.5,- semigroups >= 0.8 && < 0.9,- semigroupoids >= 1.2.6 && < 1.3,- utf8-string >= 0.3.6 && < 0.4+ build-depends:+ base >= 4 && < 5,+ containers >= 0.4 && < 0.5,+ semigroups >= 0.8 && < 0.9,+ semigroupoids >= 1.2.6.1 && < 1.3,+ utf8-string >= 0.3.6 && < 0.4 exposed-modules: Text.PrettyPrint.Free Text.PrettyPrint.Free.Internal - ghc-options: -Wall + ghc-options: -Wall