packages feed

data-tree-print 0.1.0.1 → 0.1.0.2

raw patch · 3 files changed

+14/−4 lines, 3 filesdep ~basePVP ok

version bump matches the API change (PVP)

Dependency ranges changed: base

API changes (from Hackage documentation)

Files

ChangeLog.md view
@@ -1,5 +1,10 @@ # Revision history for data-tree-print +## 0.1.0.2  -- October 2018++* Support ghc-8.6, but drop support for ghc<7.10+* Fix default formatter for strings+ ## 0.1.0.1  -- April 2018  * Fixups for ghc-8.4
data-tree-print.cabal view
@@ -1,5 +1,5 @@ name:                data-tree-print-version:             0.1.0.1+version:             0.1.0.2 synopsis:            Print Data instances as a nested tree license:             BSD3 license-file:        LICENSE@@ -36,7 +36,7 @@ library   exposed-modules:     DataTreePrint   build-depends:-    { base >=4.3 && <4.12+    { base >=4.8 && <4.13     , pretty >=1.1 && <1.2     , syb >=0.6 && <0.8     }@@ -46,4 +46,9 @@     -Wall     -fno-warn-orphans     -fno-warn-unused-imports+  }+  if impl(ghc >= 8.0) {+    ghc-options: {+      -Wcompat+    }   }
src/DataTreePrint.hs view
@@ -91,8 +91,8 @@ type LayouterF = DataToLayouter -> DataToLayouter  defaultToDocF :: ToDocF-defaultToDocF (DataToDoc lf) = DataToDoc $ genLayouter `extQ` string-                                                       `ext1Q` listLayouter+defaultToDocF (DataToDoc lf) = DataToDoc $ genLayouter `ext1Q` listLayouter+                                                       `extQ` string   where     genLayouter n =       let cStr = showConstr $ toConstr n