packages feed

monad-memo-0.2.0: monad-memo.cabal

-- The name of the package.
Name:                monad-memo

-- The package version. See the Haskell package versioning policy
-- (http://www.haskell.org/haskellwiki/Package_versioning_policy) for
-- standards guiding when and how versions should be incremented.
Version:             0.2.0

-- A short (one-line) description of the package.
Synopsis:            Memoization monad transformer

-- A longer description of the package.
Description:        Memoization monad transformer supporting mutual recursive function definitions
		    and most of the standard monad transformers        

-- URL for the project homepage or repository.
Homepage:         http://code.google.com/p/monad-memo

-- The license under which the package is released.
License:             BSD3

-- The file containing the license text.
License-file:        LICENSE

-- The package author(s).
Author:              Eduard Sergeev

-- An email address to which users can send suggestions, bug reports,
-- and patches.
Maintainer:          Eduard.Sergeev@gmail.com


Category:            Control

Build-type:          Simple


-- Constraint on the version of Cabal needed to build this package.
Cabal-version:       >=1.10

Extra-source-files:
	Tests.hs,
	Control/Monad/Memo/Test.hs

source-repository head
  type:		  svn
  location:	  http://monad-memo.googlecode.com/svn/trunk/

Flag examples
  description: Builds examples
  default:     False


Library
  default-language:	Haskell2010
  build-depends:
     base >= 3.0 && < 5,
     mtl >= 2.0,
     transformers >= 0.2,
     containers >= 0.3

  exposed-modules:
     Control.Monad.Memo,
     Control.Monad.Memo.Class,
     Control.Monad.Trans.Memo.Strict

  if flag(examples)
     exposed-modules: Control.Monad.Memo.Example

Test-Suite tests
  default-language:	Haskell2010
  type:			exitcode-stdio-1.0
  main-is:		Tests.hs
  build-depends: 
     base >= 3.0 && < 5,
     mtl >= 2.0,
     transformers >= 0.2,
     containers >= 0.3,
     random >= 1.0,
     QuickCheck >= 2.0,
     test-framework-quickcheck2 >= 0.2.9,
     test-framework >= 0.3.3
  other-modules:	Control.Monad.Memo.Test