On Thu, Jul 08, 2004 at 11:44:38PM +0100, Alastair Reid wrote:
[snip]
> We can do better though. Using two functions in System.Random, it's easy to
> get an infinite list of random numbers:
>
> randomRsIO :: IO [Int]
> randomRsIO = do
> g <- getStdGen
> return (randoms g)
[snip]
Exc
Alastair Reid wrote:
I'm just wondering, why haven't process properties (such as the command
line arguments, or the parent process id), which are inherently global,
been made global values in the Haskell standard? You could avoid
needlessly carrying around these values, you wouldn't need to lift so