HMap 1.2.2 → 1.2.3
raw patch · 4 files changed
+13/−2 lines, 4 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
+ Data.HKey: newKey :: KeyT s m (HKey s a)
+ Data.HKey: runKey :: (forall s. Key s a) -> a
+ Data.HKey: type Key s = KeyT s Identity
Files
- ChangeLog +2/−0
- Data/HKey.hs +3/−0
- Data/HKeyPrivate.hs +7/−1
- HMap.cabal +1/−1
ChangeLog view
@@ -1,3 +1,5 @@+1.2.3: Fixing exports+ 1.2.2: Added runKey utility function 1.2.1 : Fixed: now exports purge
Data/HKey.hs view
@@ -5,6 +5,9 @@ -- * Key Monad , KeyM , KeyT+ , Key + , runKey+ , newKey , getKey , keyTSplit , runKeyT) where
Data/HKeyPrivate.hs view
@@ -17,6 +17,9 @@ , createKey , KeyM , KeyT+ , Key+ , runKey+ , newKey , getKey , keyTSplit , runKeyT) where@@ -136,8 +139,11 @@ mfix m = KeyT $ Bind (Prim (GDFix m)) Return - -- | Obtain a key in the key monad+newKey :: KeyT s m (HKey s a)+newKey = getKey++-- | Obtain a key in the key monad, alias for newKey getKey :: KeyT s m (HKey s a) getKey = KeyT $ Bind (Prim GetKey) Return #if __GLASGOW_HASKELL__ >= 700
HMap.cabal view
@@ -1,5 +1,5 @@ Name: HMap-Version: 1.2.2+Version: 1.2.3 Synopsis: Fast heterogeneous maps and unconstrained typeable like functionality. Description: Fast heterogeneous maps based on Hashmaps and type-able like functionality for type that are not typeable. License: BSD3