Cabal revisions of STMonadTrans-0.4.1
Hackage metadata revisions edit the .cabal file after upload; each diff below is one revision.
revision 1
-name: STMonadTrans-version: 0.4.1-cabal-version: >= 1.8-license: BSD3-license-file: LICENSE-author: Josef Svenningsson-maintainer: josef.svenningsson@gmail.com-category: Monads-build-type: Simple-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- if flag(splitBase)- build-depends: base >= 3, base < 5, mtl, array- else- build-depends: base < 3-- exposed-modules: - Control.Monad.ST.Trans,- Control.Monad.ST.Trans.Internal- extensions: CPP, MagicHash, UnboxedTuples, Rank2Types, FlexibleInstances,- MultiParamTypeClasses, UndecidableInstances--Test-Suite foo- type: detailed-0.9- hs-source-dirs: test- test-module: Test- build-depends: STMonadTrans, base, mtl, array, Cabal+name: STMonadTrans +version: 0.4.1 +x-revision: 1 +cabal-version: >= 1.8 +license: BSD3 +license-file: LICENSE +author: Josef Svenningsson +maintainer: josef.svenningsson@gmail.com +category: Monads +build-type: Simple +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 + build-depends: base >= 4.7 + + if flag(splitBase) + build-depends: base >= 3, base < 5, mtl, array + else + build-depends: base < 3 + + exposed-modules: + Control.Monad.ST.Trans, + Control.Monad.ST.Trans.Internal + extensions: CPP, MagicHash, UnboxedTuples, Rank2Types, FlexibleInstances, + MultiParamTypeClasses, UndecidableInstances + +Test-Suite foo + type: detailed-0.9 + hs-source-dirs: test + test-module: Test + build-depends: STMonadTrans, base, mtl, array, Cabal
revision 2
name: STMonadTrans version: 0.4.1 -x-revision: 1 +x-revision: 2 cabal-version: >= 1.8 license: BSD3 license-file: LICENSE description: Choose the new smaller, split-up base package. library + -- Monad(fail) was removed in base-4.13+ build-depends: base <4.13+ build-depends: base >= 4.7 if flag(splitBase)