[Haskell-cafe] Linear shuffle

Ketil Malde ketil+haskell at ii.uib.no
Fri Jan 14 05:52:31 EST 2005


Keean Schupke <k.schupke at imperial.ac.uk> writes:

> Please see: http://okmij.org/ftp/Haskell/perfect-shuffle.txt
> For an explanation of the algorithm.

Right.  I was commenting based on the source posted by Gracjan.

(And http://c2.com/cgi/wiki?LinearShuffle contains a variety of
shuffling algorithms).

-kzm
-- 
If I haven't seen further, it is by standing in the footprints of giants



More information about the Haskell-Cafe mailing list