packages feed

stateWriter-0.2.7: stateWriter.cabal

-- Initial stateWriter.cabal generated by cabal init.  For further
-- documentation, see http://haskell.org/cabal/users-guide/

name:                stateWriter
version:             0.2.7
synopsis:            A faster variant of the RWS monad transformers.
description:         This is a version of the RWS monad transformers that should be much faster than what's found in transformers. The writer in the strict version does not leak memory.
license:             BSD3
license-file:        LICENSE
author:              Simon Marechal
maintainer:          bartavelle@gmail.com
-- copyright:
category:            Control
build-type:          Simple
-- extra-source-files:
cabal-version:       >=1.10

source-repository head
  type: git
  location: git://github.com/bartavelle/stateWriter.git

library
  exposed-modules:     Control.Monad.Trans.RSS.Lazy, Control.Monad.Trans.RSS.Strict, Control.Monad.RSS.Lazy, Control.Monad.RSS.Strict, Control.Monad.RSS, Control.Monad.Trans.RSS
  ghc-options:         -Wall
  ghc-prof-options:    -caf-all -auto-all
  -- other-modules:
  other-extensions:    FlexibleInstances, MultiParamTypeClasses
  build-depends:       base >=4.6 && < 4.9, transformers >=0.3 && <0.5, mtl >=2.1 && <2.3
  -- hs-source-dirs:
  default-language:    Haskell2010

test-suite spaceleak
    hs-source-dirs: tests
    type:           exitcode-stdio-1.0
    ghc-options:    -Wall -rtsopts
    build-depends:  stateWriter,base,mtl
    main-is:        spaceleak.hs
    default-language:    Haskell2010

test-suite rwscompare
    hs-source-dirs: tests
    type:           exitcode-stdio-1.0
    ghc-options:    -Wall -rtsopts
    build-depends:  stateWriter,base,hspec,QuickCheck,mtl,free
    main-is:        rwscompare.hs
    default-language:    Haskell2010

benchmark bench
    hs-source-dirs: bench
    type:           exitcode-stdio-1.0
    ghc-options:    -Wall -rtsopts -O2 -fllvm
    build-depends:  stateWriter,base,criterion,containers,mtl,transformers,lens,vector,dlist >= 0.7,deepseq
    main-is:        bench.hs
    default-language:    Haskell2010