Hi,

Could someone please post a fragment of code that builds a list of
random Doubles using RandomIO (recursively, please, although an
example of using the interface that gives lists of random values
directly would also be interesting)?

ie Int -> IO [Random]

Sorry - I've searched the web but can't find an example.  I can get
integers, but I don't udnerstand how to get Doubles.  I've stared at
the Library docs, but am missing something obvious, I guess.

Thanks very much,
Andrew

-- 
http://www.andrewcooke.free-online.co.uk/index.html

_______________________________________________
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell

Reply via email to