packages feed

isomorphism-class 0.1.0.4 → 0.1.0.5

raw patch · 2 files changed

+20/−1 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

isomorphism-class.cabal view
@@ -1,7 +1,7 @@ cabal-version: 3.0  name: isomorphism-class-version: 0.1.0.4+version: 0.1.0.5 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
library/IsomorphismClass.hs view
@@ -85,6 +85,25 @@      -- * Common Utilities     showAs,++    -- * FAQ++    -- |+    -- = Why no instance for Text/ByteString?+    --+    -- It is not a total isomorphism. Yes, you can represent every Text value using ByteString.+    -- However, not every ByteString can be decoded as valid Text. It doesn't matter which encoding you apply whatever encoding you apply.+    -- So it doesn't matter whether it's UTF8 or ISO-8859, or any other.+    --+    -- = String/Text is not exactly a valid isomorphism+    --+    -- Yes. It does not make a valid isomorphism. It is an exception,+    -- due to the ubiquity of String-oriented APIs.+    --+    -- = Are Int64/Word64 really isomorphic?+    --+    -- Yes. Negative integer values get mapped to the upper value range of Word64.+    -- Mapping between those types happens in bits using the 'fromIntegral' function.   ) where