packages feed

intern 0.9.4 → 0.9.5

raw patch · 5 files changed

+21/−12 lines, 5 filesdep ~hashabledep ~textPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: hashable, text

API changes (from Hackage documentation)

- Data.Interned: data family Description t;
- Data.Interned: type family Uninterned t;
- Data.Interned.Internal: data family Description t;
- Data.Interned.Internal: type family Uninterned t;
+ Data.Interned: data Description t;
+ Data.Interned: type Uninterned t;
+ Data.Interned.Internal: data Description t;
+ Data.Interned.Internal: type Uninterned t;

Files

CHANGELOG.markdown view
@@ -1,3 +1,7 @@+0.9.5 [2023.08.08]+------------------+* Remove a use of the partial `tail` function within `intern`.+ 0.9.4 [2021.02.17] ------------------ * Export `identity` from `Data.Interned.IntSet`.
Data/Interned/IntSet.hs view
@@ -817,8 +817,8 @@ showsBars :: [String] -> ShowS showsBars bars   = case bars of-      [] -> id-      _  -> showString (concat (reverse (tail bars))) . showString node+      []      -> id+      _:bars' -> showString (concat (reverse bars')) . showString node  node :: String node           = "+--"
Data/Interned/Internal/ByteString.hs view
@@ -5,8 +5,8 @@  import Data.String import Data.Interned-import Data.ByteString-import Data.ByteString.Char8 as Char8+import Data.ByteString (ByteString)+import qualified Data.ByteString.Char8 as Char8 import Data.Hashable  data InternedByteString = InternedByteString
Data/Interned/Internal/Text.hs view
@@ -5,7 +5,8 @@  import Data.String import Data.Interned-import Data.Text+import qualified Data.Text as T+import Data.Text (Text) import Data.Hashable  data InternedText = InternedText@@ -14,7 +15,7 @@   }  instance IsString InternedText where-  fromString = intern . pack+  fromString = intern . T.pack  instance Eq InternedText where   InternedText i _ == InternedText j _ = i == j
intern.cabal view
@@ -1,6 +1,6 @@ name:          intern category:      Data, Data Structures-version:       0.9.4+version:       0.9.5 license:       BSD3 cabal-version: >= 1.10 license-file:  LICENSE@@ -21,8 +21,12 @@              , GHC == 8.2.2              , GHC == 8.4.4              , GHC == 8.6.5-             , GHC == 8.8.3-             , GHC == 8.10.1+             , GHC == 8.8.4+             , GHC == 8.10.7+             , GHC == 9.0.2+             , GHC == 9.2.7+             , GHC == 9.4.5+             , GHC == 9.6.2 synopsis:      Efficient hash-consing for arbitrary data types description:   Efficient hash-consing for arbitrary data types. @@ -35,9 +39,9 @@ library   build-depends:     base                 >= 4     && < 5,-    bytestring           >= 0.9   && < 0.12,-    text                 >= 0.11  && < 1.3,-    hashable             >= 1.1   && < 1.4,+    bytestring           >= 0.9   && < 0.13,+    text                 >= 0.11  && < 2.1,+    hashable             >= 1.1   && < 1.5,     unordered-containers >= 0.2.1 && < 0.3,     array                >= 0.3   && < 0.6