packages feed

STMonadTrans-0.3.1: STMonadTrans.cabal

name:		STMonadTrans
version:	0.3.1
cabal-version:  >= 1.6
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 will be duplicated across the different answers and this cause
   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:     darcs
  location: http://patch-tag.com/r/josef/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:	MagicHash, UnboxedTuples, Rank2Types, FlexibleInstances, 
        MultiParamTypeClasses, UndecidableInstances