isomorphism-class 0.1 → 0.1.0.1
raw patch · 2 files changed
+5/−2 lines, 2 filesdep ~bytestringPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: bytestring
API changes (from Hackage documentation)
Files
isomorphism-class.cabal view
@@ -1,7 +1,7 @@ cabal-version: 3.0 name: isomorphism-class-version: 0.1+version: 0.1.0.1 synopsis: Isomorphism typeclass solving the conversion problem homepage: https://github.com/nikita-volkov/isomorphism-class bug-reports: https://github.com/nikita-volkov/isomorphism-class/issues@@ -55,7 +55,7 @@ other-modules: Test.ExtraInstances build-depends:- bytestring,+ bytestring >=0.11, isomorphism-class, QuickCheck >=2.13 && <3, quickcheck-instances ==0.3.27,
library/IsomorphismClass.hs view
@@ -197,6 +197,7 @@ instance IsomorphicTo Text Text where to = id +-- | Performs replacement on invalid Unicode chars in the string. instance IsomorphicTo Text String where to = Text.pack @@ -211,6 +212,7 @@ instance IsomorphicTo TextLazy.Text TextLazy.Text where to = id +-- | Performs replacement on invalid Unicode chars in the string. instance IsomorphicTo TextLazy.Text String where to = TextLazy.pack @@ -225,6 +227,7 @@ instance IsomorphicTo TextLazyBuilder.Builder TextLazyBuilder.Builder where to = id +-- | Performs replacement on invalid Unicode chars in the string. instance IsomorphicTo TextLazyBuilder.Builder String where to = TextLazyBuilder.fromString