stm-containers 0.2.9 → 0.2.10
raw patch · 1 files changed
+19/−20 lines, 1 filesdep ~HTFdep ~QuickCheckdep ~basePVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependency ranges changed: HTF, QuickCheck, base, base-prelude, criterion, hashable, primitive, transformers
API changes (from Hackage documentation)
- STMContainers.Bimap: instance Typeable Bimap
- STMContainers.Map: instance Eq k => Element (k, v)
- STMContainers.Map: instance Typeable Map
- STMContainers.Multimap: instance Typeable Multimap
- STMContainers.Set: instance Eq e => Element (HAMTElement e)
- STMContainers.Set: instance Typeable Set
+ STMContainers.Map: instance GHC.Classes.Eq k => STMContainers.HAMT.Nodes.Element (k, v)
+ STMContainers.Set: instance GHC.Classes.Eq e => STMContainers.HAMT.Nodes.Element (STMContainers.Set.HAMTElement e)
- STMContainers.Bimap: delete1 :: Association a b => a -> Bimap a b -> STM ()
+ STMContainers.Bimap: delete1 :: (Association a b) => a -> Bimap a b -> STM ()
- STMContainers.Bimap: delete2 :: Association a b => b -> Bimap a b -> STM ()
+ STMContainers.Bimap: delete2 :: (Association a b) => b -> Bimap a b -> STM ()
- STMContainers.Bimap: focus1 :: Association a b => StrategyM STM b r -> a -> Bimap a b -> STM r
+ STMContainers.Bimap: focus1 :: (Association a b) => StrategyM STM b r -> a -> Bimap a b -> STM r
- STMContainers.Bimap: focus2 :: Association a b => StrategyM STM a r -> b -> Bimap a b -> STM r
+ STMContainers.Bimap: focus2 :: (Association a b) => StrategyM STM a r -> b -> Bimap a b -> STM r
- STMContainers.Bimap: insert1 :: Association a b => b -> a -> Bimap a b -> STM ()
+ STMContainers.Bimap: insert1 :: (Association a b) => b -> a -> Bimap a b -> STM ()
- STMContainers.Bimap: insert2 :: Association a b => a -> b -> Bimap a b -> STM ()
+ STMContainers.Bimap: insert2 :: (Association a b) => a -> b -> Bimap a b -> STM ()
- STMContainers.Bimap: lookup1 :: Association a b => a -> Bimap a b -> STM (Maybe b)
+ STMContainers.Bimap: lookup1 :: (Association a b) => a -> Bimap a b -> STM (Maybe b)
- STMContainers.Bimap: lookup2 :: Association a b => b -> Bimap a b -> STM (Maybe a)
+ STMContainers.Bimap: lookup2 :: (Association a b) => b -> Bimap a b -> STM (Maybe a)
- STMContainers.Map: delete :: Key k => k -> Map k v -> STM ()
+ STMContainers.Map: delete :: (Key k) => k -> Map k v -> STM ()
- STMContainers.Map: focus :: Key k => StrategyM STM v r -> k -> Map k v -> STM r
+ STMContainers.Map: focus :: (Key k) => StrategyM STM v r -> k -> Map k v -> STM r
- STMContainers.Map: insert :: Key k => v -> k -> Map k v -> STM ()
+ STMContainers.Map: insert :: (Key k) => v -> k -> Map k v -> STM ()
- STMContainers.Map: lookup :: Key k => k -> Map k v -> STM (Maybe v)
+ STMContainers.Map: lookup :: (Key k) => k -> Map k v -> STM (Maybe v)
- STMContainers.Multimap: delete :: Association k v => v -> k -> Multimap k v -> STM ()
+ STMContainers.Multimap: delete :: (Association k v) => v -> k -> Multimap k v -> STM ()
- STMContainers.Multimap: focus :: Association k v => StrategyM STM () r -> v -> k -> Multimap k v -> STM r
+ STMContainers.Multimap: focus :: (Association k v) => StrategyM STM () r -> v -> k -> Multimap k v -> STM r
- STMContainers.Multimap: insert :: Association k v => v -> k -> Multimap k v -> STM ()
+ STMContainers.Multimap: insert :: (Association k v) => v -> k -> Multimap k v -> STM ()
- STMContainers.Multimap: lookup :: Association k v => v -> k -> Multimap k v -> STM Bool
+ STMContainers.Multimap: lookup :: (Association k v) => v -> k -> Multimap k v -> STM Bool
- STMContainers.Set: delete :: Element e => e -> Set e -> STM ()
+ STMContainers.Set: delete :: (Element e) => e -> Set e -> STM ()
- STMContainers.Set: focus :: Element e => StrategyM STM () r -> e -> Set e -> STM r
+ STMContainers.Set: focus :: (Element e) => StrategyM STM () r -> e -> Set e -> STM r
- STMContainers.Set: insert :: Element e => e -> Set e -> STM ()
+ STMContainers.Set: insert :: (Element e) => e -> Set e -> STM ()
- STMContainers.Set: lookup :: Element e => e -> Set e -> STM Bool
+ STMContainers.Set: lookup :: (Element e) => e -> Set e -> STM Bool
Files
- stm-containers.cabal +19/−20
stm-containers.cabal view
@@ -1,7 +1,7 @@ name: stm-containers version:- 0.2.9+ 0.2.10 synopsis: Containers for STM description:@@ -61,17 +61,17 @@ STMContainers.Set build-depends: -- data:- hashable < 1.3,+ hashable < 2, -- control: list-t >= 0.2 && < 0.5, focus >= 0.1.2 && < 0.2,- transformers >= 0.2 && < 0.5,+ transformers >= 0.2 && < 0.6, -- debugging: loch-th == 0.2.*, placeholders == 0.1.*, -- general: primitive >= 0.5 && < 0.7,- base-prelude == 0.1.*+ base-prelude < 2 default-extensions: Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures, DeriveDataTypeable, DeriveFunctor, DeriveGeneric, EmptyDataDecls, FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, ImpredicativeTypes, LambdaCase, LiberalTypeSynonyms, MagicHash, MultiParamTypeClasses, MultiWayIf, NoImplicitPrelude, NoMonomorphismRestriction, OverloadedStrings, PatternGuards, ParallelListComp, QuasiQuotes, RankNTypes, RecordWildCards, ScopedTypeVariables, StandaloneDeriving, TemplateHaskell, TupleSections, TypeFamilies, TypeOperators, UnboxedTuples default-language:@@ -92,21 +92,21 @@ -- testing: free >= 4.6 && < 5, mtl == 2.*,- QuickCheck >= 2.6 && < 2.8,- HTF == 0.12.*,+ QuickCheck >= 2.6 && < 3,+ HTF == 0.13.*, -- data: hashable < 1.3, -- control: list-t >= 0.2 && < 0.5, focus >= 0.1.2 && < 0.2,- transformers >= 0.2 && < 0.5,+ transformers, -- debugging: loch-th == 0.2.*, placeholders == 0.1.*, -- general:- primitive == 0.5.*,+ primitive, mtl-prelude < 3,- base-prelude == 0.1.*+ base-prelude default-extensions: Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures, DeriveDataTypeable, DeriveFunctor, DeriveGeneric, EmptyDataDecls, FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, ImpredicativeTypes, LambdaCase, LiberalTypeSynonyms, MagicHash, MultiParamTypeClasses, MultiWayIf, NoImplicitPrelude, NoMonomorphismRestriction, OverloadedStrings, PatternGuards, ParallelListComp, QuasiQuotes, RankNTypes, RecordWildCards, ScopedTypeVariables, StandaloneDeriving, TemplateHaskell, TupleSections, TypeFamilies, TypeOperators, UnboxedTuples default-language:@@ -124,22 +124,21 @@ APITests.MapTests APITests.MapTests.Update build-depends:- QuickCheck == 2.7.*,- HTF == 0.12.*,+ QuickCheck >= 2.7 && < 3,+ HTF == 0.13.*, stm-containers, -- debugging: loch-th == 0.2.*, placeholders == 0.1.*, -- general:- base-prelude == 0.1.*, list-t >= 0.2 && < 0.5, focus >= 0.1.2 && < 0.2, unordered-containers == 0.2.*, free >= 4.6 && < 5, mtl == 2.*,- hashable < 1.3,+ hashable, mtl-prelude < 3,- base-prelude == 0.1.*+ base-prelude default-extensions: Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures, DeriveDataTypeable, DeriveFunctor, DeriveGeneric, EmptyDataDecls, FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, ImpredicativeTypes, LambdaCase, LiberalTypeSynonyms, MagicHash, MultiParamTypeClasses, MultiWayIf, NoImplicitPrelude, NoMonomorphismRestriction, OverloadedStrings, PatternGuards, ParallelListComp, QuasiQuotes, RankNTypes, RecordWildCards, ScopedTypeVariables, StandaloneDeriving, TemplateHaskell, TupleSections, TypeFamilies, TypeOperators, UnboxedTuples default-language:@@ -162,7 +161,7 @@ build-depends: mwc-random == 0.13.*, mwc-random-monad == 0.7.*,- criterion == 0.8.*,+ criterion == 1.1.*, -- data: text < 1.3, list-t >= 0.2 && < 0.5,@@ -176,7 +175,7 @@ loch-th == 0.2.*, placeholders == 0.1.*, -- general:- base-prelude == 0.1.*,+ base-prelude, base @@ -194,7 +193,7 @@ default-language: Haskell2010 build-depends:- criterion == 0.8.*,+ criterion == 1.1.*, mwc-random == 0.13.*, mwc-random-monad == 0.7.*, -- data:@@ -210,7 +209,7 @@ -- general: free >= 4.5 && < 5, async == 2.0.*,- base-prelude == 0.1.*,+ base-prelude, base @@ -228,7 +227,7 @@ default-language: Haskell2010 build-depends:- criterion == 0.8.*,+ criterion == 1.1.*, mwc-random == 0.13.*, mwc-random-monad == 0.7.*, -- data:@@ -247,5 +246,5 @@ free >= 4.5 && < 5, async == 2.0.*, mtl-prelude < 3,- base-prelude == 0.1.*,+ base-prelude, base