Read instance of StdGen returns no parse

Denis Bueno dbueno at
Sat Feb 2 12:27:44 EST 2008

On Jan 26, 2008 7:01 PM, Yitzchak Gale <gale at> wrote:
[snip explanation]
> The documentation in System.Random is a bit misleading.
> It says "the read instance of StdGen has the following properties:
> It guarantees to succeed on any string..." The word "read" should
> really be "Read" instead. It also wouldn't hurt to mention that the
> read *function* may fail, so use reads instead.
> Hope this helps.

Definitely.  The error now makes sense.  Thanks for the response.


More information about the Glasgow-haskell-users mailing list