[Haskell-cafe] Random numbers without IO

Andrew Wagner wagner.andrew at gmail.com
Fri Feb 9 20:17:41 EST 2007


That's definitely the lazy approach!

On 2/9/07, Dougal Stanton <ithika at gmail.com> wrote:
> 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
>
>
> Cheers,
>
> D.
>
> [1] <http://xkcd.com/c221.html>
>
> --
> Dougal Stanton
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>


More information about the Haskell-Cafe mailing list