exact-combinatorics

Efficient exact computation of combinatoric functions.

https://wrengr.org/

Version on this page:0.2.0.9
LTS Haskell 22.40:0.2.0.11
Stackage Nightly 2024-11-06:0.2.0.11
Latest on Hackage:0.2.0.11

See all snapshots exact-combinatorics appears in

BSD-3-Clause licensed by wren gayle romano
Maintained by [email protected]
This version can be pinned in stack with:exact-combinatorics-0.2.0.9@sha256:348bdf9180b2602c7a1583f0bff1870f657b7a50d4f48243e0868d75fd3bdeec,2072

Module documentation for 0.2.0.9

Depends on 1 package(full list with versions):

exact-combinatorics

Hackage version Hackage-Deps TravisCI Build Status

Efficient exact computation of combinatoric functions.

Install

This is a simple package and should be easy to install via any of the standared methods:

-- With cabal-install and without the source:
$> cabal new-install exact-combinatorics
-- or:
$> cabal install exact-combinatorics

-- With cabal-install and with the source already:
$> cd exact-combinatorics
$> cabal install

-- Without cabal-install, but with the source already:
$> cd exact-combinatorics
$> runhaskell Setup.hs configure --user
$> runhaskell Setup.hs build
$> runhaskell Setup.hs test
$> runhaskell Setup.hs haddock --hyperlink-source
$> runhaskell Setup.hs copy
$> runhaskell Setup.hs register

The test step is optional and currently does nothing. The Haddock step is also optional.

Portability

An attempt has been made to keep this library as portable as possible. It is entirely Haskell98 with the exception of one use of BangPatterns. BangPatterns are supported in GHC as far back as version 6.6.1, and are also supported by JHC and UHC. As of 2010, they were not supported by Hugs; but alas Hugs is pretty much dead now.

Links