text-show-instances 3.3 → 3.4
raw patch · 3 files changed
+10/−6 lines, 3 filesdep ~text-showdep ~text-show-instancesPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: text-show, text-show-instances
API changes (from Hackage documentation)
Files
- CHANGELOG.md +4/−0
- tests/Spec/Utils.hs +2/−2
- text-show-instances.cabal +4/−4
CHANGELOG.md view
@@ -1,3 +1,7 @@+## 3.4+* Require `text-show-3.4` or later+* Update testsuite to be buildable with `text-show-3.4`+ ## 3.3 * Add the `TextShow.GHC.LanguageExtensions.Type` and `TextShow.GHC.PackageDb` modules, which define instances if using `ghc-boot` * Add `TextShow` instances for `NameFlavour`, `NameSpace`, `PatSynArgs`, and `PatSynDir` in `TextShow.Language.Haskell.TH`
tests/Spec/Utils.hs view
@@ -68,14 +68,14 @@ -- | Verifies that a type's 'TextShow' instance coincides with the output produced -- by the equivalent 'Generic' functions.-prop_genericTextShow :: (TextShow a, Generic a, GTextShow Zero (Rep a))+prop_genericTextShow :: (TextShow a, Generic a, GTextShowB Zero (Rep a)) => Int -> a -> Bool prop_genericTextShow p x = showbPrec p x == genericShowbPrec p x -- | Verifies that a type's 'TextShow1' instance coincides with the output produced -- by the equivalent 'Generic1' functions. prop_genericTextShow1 :: ( TextShow1 f, Generic1 f- , GTextShow One (Rep1 f), TextShow a+ , GTextShowB One (Rep1 f), TextShow a ) => Int -> f a -> Bool prop_genericTextShow1 p x =
text-show-instances.cabal view
@@ -1,5 +1,5 @@ name: text-show-instances-version: 3.3+version: 3.4 synopsis: Additional instances for text-show description: @text-show-instances@ is a supplemental library to @text-show@ that provides additional @Show@ instances for data types in@@ -142,7 +142,7 @@ , tagged >= 0.4.4 && < 1 , template-haskell >= 2.5 && < 2.12 , text >= 0.11.1 && < 1.3- , text-show >= 3.3 && < 4+ , text-show >= 3.4 && < 4 , time >= 0.1 && < 1.7 , transformers >= 0.2.1 && < 0.6 , transformers-compat >= 0.5 && < 1@@ -252,7 +252,7 @@ , tagged >= 0.4.4 && < 1 , template-haskell >= 2.5 && < 2.12 , text >= 0.11.1 && < 1.3- , text-show >= 3.3 && < 4+ , text-show >= 3.4 && < 4 , th-orphans >= 0.13.2 && < 1 , time >= 0.1 && < 1.7 , transformers >= 0.2.1 && < 0.6@@ -261,7 +261,7 @@ , vector >= 0.9 && < 0.12 , xhtml >= 3000.2 && < 3000.3 if !flag(developer)- build-depends: text-show-instances == 3.3+ build-depends: text-show-instances == 3.4 if flag(ghc-boot) build-depends: ghc-boot