fast-arithmetic-0.4.0.0: Fast functions on integers.

Safe HaskellSafe
LanguageHaskell2010

Numeric.Pure

Description

Pure Haskell functions.

Synopsis

Documentation

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

See here.

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