packages feed

isomorphism-class 0.2 → 0.2.0.1

raw patch · 3 files changed

+16/−7 lines, 3 filesdep ~primitive

Dependency ranges changed: primitive

Files

+ CHANGELOG.md view
@@ -0,0 +1,9 @@++# 0.2++- `IsomorphicTo` renamed to `Is`+- `IsSome` is introduced as a parent class to it+- `to` moved to `IsSome`+- `showAs` dropped+- `String` isomorphism instances for textual types dropped, since they were not exactly isomorphisms+- `IsSome` instances added for `String` for textual types
isomorphism-class.cabal view
@@ -1,8 +1,7 @@ cabal-version: 3.0 name: isomorphism-class-version: 0.2-synopsis: Isomorphism typeclass solving the conversion problem-description: Lawful typeclass for lossless conversion between types.+version: 0.2.0.1+synopsis: Lawful typeclasses for conversion between types category: Conversion homepage: https://github.com/nikita-volkov/isomorphism-class bug-reports: https://github.com/nikita-volkov/isomorphism-class/issues@@ -11,6 +10,8 @@ copyright: (c) 2022 Nikita Volkov license: MIT license-file: LICENSE+extra-source-files:+  CHANGELOG.md  source-repository head   type: git@@ -96,7 +97,7 @@     bytestring >=0.10 && <0.13,     containers >=0.6 && <0.8,     hashable >=1 && <2,-    primitive >=0.7.3 && <0.10,+    primitive >=0.7 && <0.10,     profunctors >=5 && <6,     text >=1.2 && <2.2,     unordered-containers >=0.2 && <0.3,@@ -112,7 +113,7 @@     QuickCheck >=2.13 && <3,     bytestring >=0.11.1.0 && <0.13,     isomorphism-class,-    primitive >=0.7.3 && <0.10,+    primitive >=0.7 && <0.10,     quickcheck-instances >=0.3.32 && <0.4,     rebase >=1.15 && <2,     tasty >=1.2.3 && <2,
library/IsomorphismClass.hs view
@@ -7,8 +7,7 @@ -- -- Have you ever looked for a @toString@ function? How often do you -- import @Data.Text.Lazy@ only to call its 'Data.Text.Lazy.fromStrict'? How--- about going thru the always fun sequence of--- importing @Data.ByteString.Builder@ only to call its+-- about importing @Data.ByteString.Builder@ only to call its -- 'Data.ByteString.Builder.toLazyByteString' and then importing -- @Data.ByteString.Lazy@ only to call its 'Data.ByteString.Lazy.toStrict'? --