text-show 3.9.3 → 3.9.4
raw patch · 4 files changed
+15/−5 lines, 4 filesdep ~text
Dependency ranges changed: text
Files
- CHANGELOG.md +4/−0
- tests/Derived/TypeSynonyms.hs +5/−1
- tests/Instances/Data/Floating.hs +2/−0
- text-show.cabal +4/−4
CHANGELOG.md view
@@ -1,3 +1,7 @@+### 3.9.4 [2021.12.26]+* Allow the test suite to build with `text-2.0.*` and+ `transformers-compat-0.7.1`.+ ### 3.9.3 [2021.10.31] * Allow building with GHC 9.2. * Drop support for GHC 7.4 and 7.6.
tests/Derived/TypeSynonyms.hs view
@@ -72,9 +72,13 @@ ------------------------------------------------------------------------------- #if !(MIN_VERSION_base(4,9,0))+-- TODO: Delete this code once we depend on transformers-compat-0.7.1 as the+-- minimum+# if !(MIN_VERSION_transformers_compat(0,7,1)) $(deriveShow1 ''(,,,))-# if defined(NEW_FUNCTOR_CLASSES)+# if defined(NEW_FUNCTOR_CLASSES) $(deriveShow2 ''(,,,))+# endif # endif #endif
tests/Instances/Data/Floating.hs view
@@ -17,6 +17,8 @@ import Data.Text.Lazy.Builder.RealFloat (FPFormat(..)) import Test.QuickCheck (Arbitrary(..), arbitraryBoundedEnum) +#if !(MIN_VERSION_text(2,0,0)) deriving instance Bounded FPFormat+#endif instance Arbitrary FPFormat where arbitrary = arbitraryBoundedEnum
text-show.cabal view
@@ -1,5 +1,5 @@ name: text-show-version: 3.9.3+version: 3.9.4 synopsis: Efficient conversion of values into Text description: @text-show@ offers a replacement for the @Show@ typeclass intended for use with @Text@ instead of @String@s. This package was created@@ -162,7 +162,7 @@ , generic-deriving >= 1.14.1 && < 2 , ghc-prim , integer-gmp- , text >= 0.11.1 && < 1.3+ , text >= 0.11.1 && < 2.1 , th-abstraction >= 0.4 && < 0.5 , th-lift >= 0.7.6 && < 1 @@ -349,7 +349,7 @@ , QuickCheck >= 2.12 && < 2.15 , quickcheck-instances >= 0.3.26 && < 0.4 , template-haskell >= 2.9 && < 2.19- , text >= 0.11.1 && < 1.3+ , text >= 0.11.1 && < 2.1 , text-show , transformers-compat >= 0.5 && < 1 build-tool-depends: hspec-discover:hspec-discover@@ -383,7 +383,7 @@ , deepseq >= 1.3 && < 2 , ghc-prim , text-show- , text >= 0.11.1 && < 1.3+ , text >= 0.11.1 && < 2.1 hs-source-dirs: benchmarks default-language: Haskell2010