packages feed

control-monad-failure-0.6.1: control-monad-failure.cabal

name: control-monad-failure
version: 0.6.1
Cabal-Version:  >= 1.6
build-type: Simple
license: PublicDomain
author: Pepe Iborra, Michael Snoyman, Nicolas Pouillard
maintainer: pepeiborra@gmail.com
homepage: http://github.com/pepeiborra/control-monad-failure
description: A class for monads which can fail with an error.
synopsis: A class for monads which can fail with an error.
category: Control, Monads, Failure
stability: experimental

flag transformers_02
    description: transformers = 0.2.*

Library
  buildable: True
  build-depends: base >= 4 && < 5,
                 failure >= 0.0.0 && < 0.1
  if flag(transformers_02)
    build-depends: transformers >= 0.2 && < 0.3
    CPP-OPTIONS: -DTRANSFORMERS_02
  else
    build-depends: transformers >= 0.1 && < 0.2
  ghc-options: -Wall

  extensions:  MultiParamTypeClasses, FlexibleInstances, CPP
  exposed-modules:
     Control.Monad.Failure
     Control.Monad.Failure.Transformers

source-repository head
  type:     git
  location: git://github.com/pepeiborra/control-monad-failure.git