mutable-containers 0.3.4 → 0.3.4.1
raw patch · 3 files changed
+32/−26 lines, 3 filesdep ~basePVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependency ranges changed: base
API changes (from Hackage documentation)
+ Data.Mutable: --
+ Data.Mutable: -- Since 0.2.0
+ Data.Mutable: -- container, much like <a>PrimState</a> from primitive.
+ Data.Mutable: -- reference.
+ Data.Mutable: -- | The type of each value in the collection.
+ Data.Mutable: type CollElement c;
+ Data.Mutable: type MCState c;
+ Data.Mutable: type RefElement c;
- Data.Mutable: class Monad m => PrimMonad (m :: * -> *) where {
+ Data.Mutable: class Monad m => PrimMonad (m :: Type -> Type)
- Data.Mutable: data IORef a :: * -> *
+ Data.Mutable: data IORef a
- Data.Mutable: data MutVar s a :: * -> * -> *
+ Data.Mutable: data MutVar s a
- Data.Mutable: data RealWorld :: *
+ Data.Mutable: data RealWorld
- Data.Mutable: data STRef s a :: * -> * -> *
+ Data.Mutable: data STRef s a
- Data.Mutable: type family PrimState (m :: * -> *) :: *;
+ Data.Mutable: type family PrimState (m :: Type -> Type)
Files
- ChangeLog.md +6/−0
- mutable-containers.cabal +24/−26
- test/Spec.hs +2/−0
ChangeLog.md view
@@ -1,3 +1,9 @@+# ChangeLog for mutable-containers++## 0.3.4.1++* Fix test suite compilation [#208](https://github.com/snoyberg/mono-traversable/pull/208)+ ## 0.3.4 * Switch to gauge
mutable-containers.cabal view
@@ -1,11 +1,11 @@--- This file has been generated from package.yaml by hpack version 0.20.0.+cabal-version: 1.12++-- This file has been generated from package.yaml by hpack version 0.35.0. -- -- see: https://github.com/sol/hpack------ hash: 40dea8fdbd3dd312e239092feaa21012ad064fac2c05429d687759366016cfe7 name: mutable-containers-version: 0.3.4+version: 0.3.4.1 synopsis: Abstactions and concrete implementations of mutable containers description: See docs and README at <http://www.stackage.org/package/mutable-containers> category: Data@@ -16,27 +16,15 @@ license: MIT license-file: LICENSE build-type: Simple-cabal-version: >= 1.10- extra-source-files:- ChangeLog.md README.md+ ChangeLog.md source-repository head type: git location: https://github.com/snoyberg/mono-traversable library- hs-source-dirs:- src- ghc-options: -O2- build-depends:- base >=4.9 && <5- , containers- , ghc-prim- , mono-traversable- , primitive >=0.5.2.1- , vector exposed-modules: Data.Mutable other-modules:@@ -48,53 +36,63 @@ Data.Mutable.SRef Data.Mutable.URef Paths_mutable_containers+ hs-source-dirs:+ src+ ghc-options: -O2+ build-depends:+ base >=4.13 && <5+ , containers+ , ghc-prim+ , mono-traversable+ , primitive >=0.5.2.1+ , vector default-language: Haskell2010 test-suite test type: exitcode-stdio-1.0 main-is: Spec.hs+ other-modules:+ Paths_mutable_containers hs-source-dirs: test build-depends: QuickCheck- , base >=4.9 && <5+ , base >=4.13 && <5 , containers , hspec , mutable-containers , primitive , vector- other-modules:- Paths_mutable_containers default-language: Haskell2010 benchmark deque type: exitcode-stdio-1.0 main-is: deque.hs+ other-modules:+ Paths_mutable_containers hs-source-dirs: bench ghc-options: -Wall -O2 -rtsopts build-depends:- base >=4.9 && <5+ base >=4.13 && <5 , containers , gauge , mutable-containers , vector- other-modules:- Paths_mutable_containers default-language: Haskell2010 benchmark ref type: exitcode-stdio-1.0 main-is: ref.hs+ other-modules:+ Paths_mutable_containers hs-source-dirs: bench ghc-options: -Wall -O2 -rtsopts build-depends:- base >=4.9 && <5+ base >=4.13 && <5 , containers , gauge , mutable-containers , vector- other-modules:- Paths_mutable_containers default-language: Haskell2010
test/Spec.hs view
@@ -1,4 +1,6 @@ {-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE FlexibleContexts #-}+ import Control.Monad (forM_) import Data.Mutable import Data.Sequence (Seq)