name: STMonadTrans version: 0.4.4 cabal-version: >= 1.10 license: BSD3 license-file: LICENSE author: Josef Svenningsson maintainer: josef.svenningsson@gmail.com category: Monads build-type: Simple Tested-With: GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.2, GHC == 8.0.1 synopsis: A monad transformer version of the ST monad description: A monad transformer version of the ST monad Warning! This monad transformer should not be used with monads that can contain multiple answers, like the list monad. The reason is that the state token will be duplicated across the different answers and this causes Bad Things to happen (such as loss of referential transparency). Safe monads include the monads State, Reader, Writer, Maybe and combinations of their corresponding monad transformers. extra-source-files: changelog.md source-repository head type: git location: https://github.com/josefs/STMonadTrans flag splitBase description: Choose the new smaller, split-up base package. library default-language: Haskell2010 build-depends: base >= 4.6 if flag(splitBase) build-depends: base >= 3, base < 5, mtl, array else build-depends: base < 3 if impl(ghc < 8.0) build-depends: fail exposed-modules: Control.Monad.ST.Trans, Control.Monad.ST.Trans.Internal default-extensions: CPP, MagicHash, UnboxedTuples, Rank2Types, FlexibleInstances, MultiParamTypeClasses, UndecidableInstances ghc-options: -Wall -fwarn-tabs test-suite test default-language: Haskell2010 type: exitcode-stdio-1.0 hs-source-dirs: test main-is: Main.hs build-depends: base >= 4 && < 5 , tasty >= 0.11.0.4 && < 1.3 , tasty-quickcheck >= 0.8.4 && < 0.11 , tasty-hunit >= 0.9.2 && < 0.11 , transformers >= 0.4 && < 0.6 , STMonadTrans