red-black-record 2.0.1.0 → 2.0.2.0
raw patch · 4 files changed
+4/−2 lines, 4 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
+ Data.RBR: type Empty = E
Files
- lib/Data/RBR.hs +1/−0
- lib/Data/RBR/Internal.hs +1/−0
- red-black-record.cabal +1/−1
- tests/tests.hs +1/−1
lib/Data/RBR.hs view
@@ -2,6 +2,7 @@ -- * Type-level Red-Black tree -- $typelevel Map, + Empty, EmptyMap, KeysValuesAll, KnownKey,
lib/Data/RBR/Internal.hs view
@@ -57,6 +57,7 @@ -- | A map without entries. See also 'unit' and 'impossible'. type Empty = E +{-# DEPRECATED EmptyMap "Use Empty instead." #-} type EmptyMap = E --
red-black-record.cabal view
@@ -1,6 +1,6 @@ cabal-version: 2.0 name: red-black-record -version: 2.0.1.0 +version: 2.0.2.0 synopsis: Extensible records and variants indexed by a type-level Red-Black tree. description: A library that provides extensible records and variants,
tests/tests.hs view
@@ -61,7 +61,7 @@ type family Perform (as :: [Action Symbol Type]) :: Map Symbol Type where Perform (Act In s v ': as) = Insert s v (Perform as) Perform (Act De s v ': as) = Delete s v (Perform as) - Perform '[] = EmptyMap + Perform '[] = Empty perform :: [Action String TypeRep] -> Map String TypeRep perform = foldr (\(Act iod s v) t -> case iod of In -> t_insert s v t