[Haskell-cafe] Random numbers without IO

Dougal Stanton ithika at gmail.com
Fri Feb 9 19:28:30 EST 2007

Well, nobody likes tainting their beautiful pure code with IO, so I
rewrote the Random module to take advantage of the latest research [1]:

> module Random where
> getRandom = 4



[1] <http://xkcd.com/c221.html>

Dougal Stanton

More information about the Haskell-Cafe mailing list