Norman Ramsey writes:
 > Does anybody know of work using monads to encapsulate a source of 
 > random numbers?  A quick web search suggested Haskell 98 did not take
 > this path.  I'd be curious for any insights why, or any suggestions
 > about a `randomness monad'.
 > 
 > 
 > Norman

Hi.

Is the global random number generator, in section 17.3 of the Haskell
98 library report, the sort of thing you're after?

Regards,
Tom

Reply via email to