[Haskell-cafe] Linear shuffle
john at repetae.net
Fri Jan 14 04:52:48 EST 2005
On Fri, Jan 14, 2005 at 09:17:41AM +0100, Gracjan Polak wrote:
> This algorithm seems not effective, length, take, drop and (!!) are
> costly. Is there any better way to implement shuffle?
Oleg wrote a great article on implementing the perfect shuffle. with
some sample code.
John Meacham - ⑆repetae.net⑆john⑈
More information about the Haskell-Cafe