~ubuntu-branches/ubuntu/wily/haskell-stmonadtrans/wily-proposed

« back to all changes in this revision

Viewing changes to STMonadTrans.cabal

  • Committer: Package Import Robot
  • Author(s): Joachim Breitner
  • Date: 2014-07-26 14:31:21 UTC
  • Revision ID: package-import@ubuntu.com-20140726143121-7yotvj223bwmk1j6
Tags: upstream-0.3.2
ImportĀ upstreamĀ versionĀ 0.3.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
name:           STMonadTrans
 
2
version:        0.3.2
 
3
cabal-version:  >= 1.6
 
4
license:        BSD3
 
5
license-file:   LICENSE
 
6
author:         Josef Svenningsson
 
7
maintainer:     josef.svenningsson@gmail.com
 
8
category:       Monads
 
9
build-type:     Simple
 
10
synopsis:       A monad transformer version of the ST monad
 
11
description:    
 
12
   A monad transformer version of the ST monad
 
13
 
 
14
   Warning! This monad transformer should not be used with monads that
 
15
   can contain multiple answers, like the list monad. The reason is that 
 
16
   the will be duplicated across the different answers and this cause
 
17
   Bad Things to happen (such as loss of referential transparency). Safe 
 
18
   monads include the monads State, Reader, Writer, Maybe and 
 
19
   combinations of their corresponding monad transformers.
 
20
 
 
21
source-repository head
 
22
  type:     git
 
23
  location: https://github.com/josefs/STMonadTrans
 
24
 
 
25
flag splitBase
 
26
  description: Choose the new smaller, split-up base package.
 
27
 
 
28
library
 
29
  if flag(splitBase)
 
30
    build-depends: base >= 3, base < 5, mtl, array
 
31
  else
 
32
    build-depends: base < 3
 
33
 
 
34
  exposed-modules:      
 
35
    Control.Monad.ST.Trans,
 
36
    Control.Monad.ST.Trans.Internal
 
37
  extensions:   CPP, MagicHash, UnboxedTuples, Rank2Types, FlexibleInstances,
 
38
        MultiParamTypeClasses, UndecidableInstances
 
39