-
Notifications
You must be signed in to change notification settings - Fork 8
/
permutation.cabal
65 lines (59 loc) · 2.33 KB
/
permutation.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
name: permutation
version: 0.3
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 <[email protected]>
author: Patrick Perry
maintainer: Patrick Perry <[email protected]>
cabal-version: >= 1.2.0
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
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