packages feed

combinat-0.2.5.0: combinat.cabal

Name:                combinat
Version:             0.2.5.0
Synopsis:            Generation of various combinatorial objects.
Description:         A collection of functions to generate (and if there is 
                     a formula, count) combinatorial objects like partitions, 
                     compositions, permutations, Young tableaux, various trees, 
                     etc.
License:             BSD3
License-file:        LICENSE
Author:              Balazs Komuves
Copyright:           (c) 2008-2014 Balazs Komuves
Maintainer:          bkomuves (plus) hackage (at) gmail (dot) com
Homepage:            http://code.haskell.org/~bkomuves/
Stability:           Experimental
Category:            Math
Tested-With:         GHC == 7.4.2
Cabal-Version:       >= 1.6
Build-Type:          Simple

Flag withQuickCheck
  Description: Compile with the QuickCheck tests. 
  default: False

Flag splitBase
  Description: Choose the new smaller, split-up base package.

Flag base4
  Description: Base v4
  
Library
  if flag(splitBase)
    if flag(base4)
      Build-Depends:       base >= 4 && < 5, array, containers, random, transformers
      cpp-options:         -DBASE_VERSION=4
    else 
      Build-Depends:       base >= 3 && < 4, array, containers, random, transformers
      cpp-options:         -DBASE_VERSION=3
    if flag(withQuickCheck)
      Build-Depends:       QuickCheck
  else
    Build-Depends:       base < 3
    cpp-options:         -DBASE_VERSION=2


  Exposed-Modules:     Math.Combinat
                       Math.Combinat.Numbers
                       Math.Combinat.Numbers.Series
                       Math.Combinat.Numbers.Primes
                       Math.Combinat.Sets
                       Math.Combinat.Tuples 
                       Math.Combinat.Compositions
                       Math.Combinat.Partitions
                       Math.Combinat.Permutations
                       Math.Combinat.Tableaux
                       Math.Combinat.Tableaux.Kostka
                       Math.Combinat.Trees
                       Math.Combinat.Trees.Binary
                       Math.Combinat.Trees.Nary
                       Math.Combinat.FreeGroups
                       Math.Combinat.Graphviz
  
  Other-Modules:       Math.Combinat.Helper

  Extensions:          CPP, MultiParamTypeClasses, ScopedTypeVariables, 
                       GeneralizedNewtypeDeriving 

  Hs-Source-Dirs:      .

  if flag(withQuickCheck)
    cpp-options:         -DQUICKCHECK

  ghc-options:         -Wall -fno-warn-unused-matches