packages feed

monad-gen-0.1.0.0: monad-gen.cabal

name:                monad-gen
version:             0.1.0.0
synopsis:            A simple monad for generating fresh integers
description:         It's a common in Haskell programs to thread some state
                     through the application using @State@ or some other similar pattern.

                     This package simply wraps @State@ and uses it to generate fresh values,
                     any @Enum@ value will work.
license:             MIT
license-file:        LICENSE
author:              Danny Gratzer
maintainer:          danny.gratzer@gmail.com
category:            Utility

build-type:          Simple

cabal-version:       >=1.10


library
  exposed-modules:     Control.Monad.Gen
  other-extensions:    FlexibleInstances, MultiParamTypeClasses, UndecidableInstances, DeriveFunctor
  build-depends:       base >=4.6 && <5.0, mtl == 2.*, transformers > 0.3
  hs-source-dirs:      src
  default-language:    Haskell2010