packages feed

constrained-monads-0.4.0.0: constrained-monads.cabal

name:                constrained-monads
version:             0.4.0.0
synopsis:            Typeclasses and instances for monads with constraints. 
description:         A library for monads with constraints over the types they contain. This allows set, etc to conform to the monad class. It is structured as a prelude replacement: everything that doesn't conflict with the new definitions of 'Functor', 'Monad', etc is reexported.
                     
homepage:            https://github.com/oisdk/constrained-monads#readme
license:             MIT
license-file:        LICENSE
author:              Donnacha Oisín Kidney
maintainer:          mail@doisinkidney.com
copyright:           2016 Donnacha Oisín Kidney
category:            Control
build-type:          Simple
cabal-version:       >=1.10

library
  hs-source-dirs:      src
  exposed-modules:     Control.Monad.Constrained
                     , Control.Monad.Constrained.Trans
                     , Control.Monad.Constrained.State
                     , Control.Monad.Constrained.Reader
                     , Control.Monad.Constrained.Error
                     , Control.Monad.Constrained.Writer
                     , Control.Monad.Constrained.IO
                     , Control.Monad.Constrained.Cont
                     , Control.Monad.Constrained.IntSet
                     , Control.Monad.Constrained.Ap
  build-depends:       base >= 4.9 && < 5
                     , containers >= 0.5
                     , transformers >= 0.5
  default-language:    Haskell2010
  ghc-options:         -Wall

test-suite constrained-monads-test
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             Spec.hs
  build-depends:       base >= 4.9 && < 5
                     , constrained-monads >= 0.1
                     , doctest >= 0.11
                     , QuickCheck >= 2.8
                     , containers >= 0.5
                     , transformers >= 0.5
  ghc-options:         -threaded
                       -rtsopts
                       -with-rtsopts=-N
                       -Wall
  default-language:    Haskell2010



source-repository head
  type:     git
  location: https://github.com/oisdk/constrained-monads