name: permutation
version: 0.4
homepage: http://stat.stanford.edu/~patperry/code/permutation
synopsis: A library for permutations and combinations.
description:
This library includes data types for storing permutations and
combinations. It implements pure and impure types, the latter of
which can be modified in-place. The library uses aggressive
inlining and MutableByteArray#s internally, so it is very
efficient.
.
The main utility of the library is converting between the linear
representation of a permutation and a sequence of swaps. This
allows, for instance, applying a permutation or its inverse
to an array with O(1) memory use.
.
Much of the interface for the library is based on the permutation
and combination functions in the GNU Scientific Library (GSL).
.
category: Data Structures, Math
license: BSD3
license-file: LICENSE
copyright: (c) 2008. Patrick Perry
author: Patrick Perry
maintainer: Patrick Perry
cabal-version: >= 1.2.3
build-type: Custom
tested-with: GHC ==6.8.2, GHC ==6.10.1
extra-source-files: examples/Enumerate.hs
tests/Test/Choose.hs
tests/Test/Permute.hs
tests/Driver.hs
tests/Main.hs
tests/Choose.hs
tests/STChoose.hs
tests/Permute.hs
tests/STPermute.hs
tests/Makefile
NEWS
library
hs-source-dirs: lib
exposed-modules: Data.Choose
Data.Choose.MChoose
Data.Choose.IO
Data.Choose.ST
Data.Permute
Data.Permute.MPermute
Data.Permute.IO
Data.Permute.ST
other-modules: Data.IntArray
Data.Choose.Base
Data.Choose.IOBase
Data.Permute.Base
Data.Permute.IOBase
build-depends: base
extensions: MultiParamTypeClasses, FunctionalDependencies,
FlexibleContexts, Rank2Types, MagicHash, UnboxedTuples
ghc-options: -Wall
if impl(ghc >= 6.9)
build-depends: ghc-prim