Re: [Haskell-cafe] In relation to shuffling

2004-07-12 Thread Remi Turk
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] Except

Re: [Haskell-cafe] Process properties as global values

2004-07-12 Thread Jan-Willem Maessen - Sun Labs East
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