packages feed

phantom-state-0.2.0.0: phantom-state.cabal

name:                phantom-state
version:             0.2.0.0
synopsis:            Phantom State Monad Transformer. Like State Monad, but without values.
description:         A monad transformer that mimics the State Monad Transformer from the
                     <http://hackage.haskell.org/package/transformers transformers> package,
                     but dropping the values. In those cases that you want to use the State
                     Monad but you only care about how the state changes, use this library
                     to earn a plus of efficiency.
license:             BSD3
license-file:        LICENSE
author:              Daniel Díaz
maintainer:          dhelta.diaz@gmail.com
bug-reports:         https://github.com/Daniel-Diaz/phantom-state/issues
category:            Control
build-type:          Simple
cabal-version:       >=1.10

Source-repository head
  type: git
  location: git://github.com/Daniel-Diaz/phantom-state.git

library
  exposed-modules:     Control.Applicative.PhantomState
  build-depends:       base == 4.*
                     , transformers >= 0.3 && < 0.5
  default-language:    Haskell2010
  ghc-options: -O2 -Wall

benchmark phantom-state-bench
  default-language: Haskell2010
  type: exitcode-stdio-1.0
  hs-source-dirs: bench
  main-is: Main.hs
  build-depends: base == 4.*
               , criterion
               , vector
               , phantom-state
               , transformers
  ghc-options: -O2