fast-arithmetic-0.3.3.0: Fast functions on integers.

Safe HaskellSafe
LanguageHaskell2010

Numeric.Pure

Contents

Description

Pure Haskell functions. These tend to be more general than the equivalents in ATS.

Synopsis

Useful functions

derangement :: Integral a => Int -> a Source #

See here.

λ:> fmap derangement [0..10] :: [Integer]
[1,0,1,2,9,44,265,1854,14833,133496,1334961]

Functions exported for testing and benchmarking