packages feed

random-effin-0.1.1.0: random-effin.cabal

-- Initial random-eff.cabal generated by cabal init.  For further 
-- documentation, see http://haskell.org/cabal/users-guide/

name:                random-effin
version:             0.1.1.0
synopsis:            A simple random generator library for effin
description:         A simple random generator library for effin
license:             BSD3
license-file:        LICENSE
author:              Hiromi ISHII
maintainer:          konn.jinro_at_gmail.com
copyright:           2014 (c) Hiromi ISHII
category:            Control, Effect
build-type:          Simple
-- extra-source-files:  examples/*.hs
cabal-version:       >=1.10

source-repository head
  type: git
  location: git://github.com/konn/random-effin.git

flag MonadRandom
  description: Enable MonadRandom instances
  default:     False

library
  if flag(MonadRandom)
    build-depends:     MonadRandom >= 0.3 && < 0.4
    cpp-options:       -DMONADRANDOM
  exposed-modules:     Control.Effect.Random
  other-extensions:    DeriveDataTypeable,
                       DeriveFunctor,
                       ExistentialQuantification,
                       FlexibleContexts,
                       MultiParamTypeClasses,
                       NoMonomorphismRestriction,
                       ScopedTypeVariables
  build-depends:       base               >=4   && <5
               ,       effin              >=0.2 && <0.3
               ,       random             >=1.0 && <1.1
  default-language:    Haskell2010