st2 0.1.0.1 → 0.1.0.2
raw patch · 3 files changed
+42/−17 lines, 3 filesdep ~gdpdep ~primitive
Dependency ranges changed: gdp, primitive
Files
- ChangeLog.md +5/−0
- src/Control/Monad/ST2.hs +1/−0
- st2.cabal +36/−17
ChangeLog.md view
@@ -1,5 +1,10 @@ # Revision history for st2 +## 0.1.0.2 -- 2018-11-02++* Fix build on GHC-8.6, which requires Control.Monad.ST2 to have+ -XPolyKinds enabled in order to compile.+ ## 0.1.0.1 -- 2018-11-02 * Fix internal bug that could cause semantic differences under optimisations,
src/Control/Monad/ST2.hs view
@@ -4,6 +4,7 @@ {-# LANGUAGE KindSignatures #-} {-# LANGUAGE MagicHash #-} {-# LANGUAGE NoImplicitPrelude #-}+{-# LANGUAGE PolyKinds #-} {-# LANGUAGE Rank2Types #-} {-# LANGUAGE ScopedTypeVariables #-} {-# LANGUAGE TypeFamilies #-}
st2.cabal view
@@ -1,6 +1,10 @@-name: st2-version: 0.1.0.1-synopsis: shared heap regions between local mutable state threads+cabal-version: 2.2+name:+ st2+version:+ 0.1.0.2+synopsis:+ shared heap regions between local mutable state threads description: This library implements the ST2 monad, a type using GDP (ghosts of departed proofs) to define shared regions of memory between local mutable state threads. This allows@@ -15,19 +19,34 @@ private, and the other shared. A second sub-computation has unconstrained access to the shared cell. Yet even though the private reference is also in scope during the second sub-computation, any attempts to access it there will fail to compile.-homepage: https://github.com/chessai/st2.git-license: BSD3-license-file: LICENSE-author: chessai-maintainer: chessai1996@gmail.com-copyright: copyright (c) 2018 chessai, copyright (c) 2018 Matt Noonan-category: Data-build-type: Simple-extra-source-files: ChangeLog.md-cabal-version: >=1.10+homepage:+ https://github.com/chessai/st2.git+license:+ BSD-3-Clause+license-file:+ LICENSE+author:+ chessai+maintainer:+ chessai1996@gmail.com+copyright:+ copyright (c) 2018 chessai, copyright (c) 2018 Matt Noonan+category:+ Data+build-type:+ Simple+extra-source-files:+ ChangeLog.md library- exposed-modules: Control.Monad.ST2- build-depends: base >= 4.9 && < 4.13, gdp, ghc-prim, primitive- hs-source-dirs: src- default-language: Haskell2010+ exposed-modules:+ Control.Monad.ST2+ build-depends:+ base >= 4.9 && < 4.13+ , gdp >= 0.0.0.1 && < 0.1.0.0+ , ghc-prim+ , primitive >= 0.6.4.0+ hs-source-dirs:+ src+ default-language:+ Haskell2010