packages feed

perm-0.1.0.0: perm.cabal

name:          perm
version:       0.1.0.0
cabal-version: >= 1.10
synopsis:      permutation Applicative and Monad with many mtl instances
description:
  Based on \"Parsing Permutation Phrases\", by Arthur Baars, Andres Loeh and S.
  Doaitse Swierstra, /Haskell Workshop 2001/.  The implementation given here
  does not include explicit optional actions, and instead implements
  'Control.Applicative.Alternative' and 'Control.Monad.MonadPlus'.
  @m 'Control.Applicative.<|>' 'Control.Applicative.pure' a@ should be used where
  @'addOpt' a m@ would be used.
license:       BSD3
license-file:  LICENSE
author:        Andy Sonnenburg
maintainer:    Andy Sonnenburg <andy22286@gmail.com>
category:      Control
homepage:      https://github.com/sonyandy/perm
bug-reports:   https://github.com/sonyandy/perm/issues
build-type:    Simple

source-repository head
  type: git
  location: git://github.com/sonyandy/perm.git

library
  default-language: Haskell98
  exposed-modules:
    Control.Applicative.Perm
    Control.Monad.Perm
  other-modules:
    Control.Monad.Perm.Internal
  build-depends:
    base >= 4 && < 5,
    transformers >= 0.2 && < 0.4,
    mtl >= 2.0 && < 2.2,
    catch-fd >= 0.2 && < 0.4
  ghc-options: -Wall
  if impl(ghc >= 7.6)
    cpp-options: -DLANGUAGE_DataKinds
  else
    other-extensions: EmptyDataDecls
  if impl(ghc >= 7.2)
    cpp-options: -DLANGUAGE_DefaultSignatures
  other-extensions:
    FlexibleInstances
    GADTs
    MultiParamTypeClasses
    Rank2Types
    TypeSynonymInstances
    UndecidableInstances