packages feed

combinat-0.2.3: combinat.cabal

Name:                combinat
Version:             0.2.3
Synopsis:            Generation of various combinatorial objects.
Description:         A collection of functions to generate combinatorial
                     objects like partitions, combinations, permutations,
                     Young tableaux, various trees, etc.
License:             BSD3
License-file:        LICENSE
Author:              Balazs Komuves
Copyright:           (c) 2008-2009 Balazs Komuves
Maintainer:          bkomuves (plus) hackage (at) gmail (dot) com
Homepage:            http://code.haskell.org/~bkomuves/
Stability:           Experimental
Category:            Math
Tested-With:         GHC == 6.10.1
Cabal-Version:       >= 1.2
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, mtl
      cpp-options:         -DBASE_VERSION=4
    else 
      Build-Depends:       base >= 3 && < 4, array, containers, random, mtl
      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.Sets,
                       Math.Combinat.Tuples, 
                       Math.Combinat.Combinations,
                       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.Graphviz
  
  Other-Modules:       Math.Combinat.Helper

  Extensions:          MultiParamTypeClasses, ScopedTypeVariables, CPP

  Hs-Source-Dirs:      .

  if flag(withQuickCheck)
    cpp-options:         -DQUICKCHECK

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