-
Notifications
You must be signed in to change notification settings - Fork 0
/
stt.cabal
45 lines (41 loc) · 1.63 KB
/
stt.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: stt
version: 0.2.1
synopsis: A monad transformer version of the ST monad
license: MIT
license-file: LICENSE
author: Kyle McKean
maintainer: [email protected]
category: Control
build-type: Simple
cabal-version: >=1.10
Tested-With: GHC >= 7.4 && <= 8.0.2
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.
source-repository head
type: git
location: https://github.com/mckeankylej/stt
library
exposed-modules: Control.Monad.Trans.ST
Control.Monad.Trans.ST.Internal
build-depends: base >= 4.5 && < 5
, mtl >= 2.2.1 && < 3
, primitive >= 0.6.1 && <= 0.7.1.0
hs-source-dirs: src
default-language: Haskell2010
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 && < 0.12
, tasty-quickcheck >= 0.8.4 && < 0.9
, tasty-hunit >= 0.9.2 && < 0.10
, transformers >= 0.4 && < 0.6
, stt