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 so

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

2004-07-06 Thread Volker Wysk
On Sun, 4 Jul 2004, Georg Martius wrote: > On Sun, 4 Jul 2004 19:17:53 +0100, Alastair Reid <[EMAIL PROTECTED]> 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 valu

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

2004-07-06 Thread Volker Wysk
On Sun, 4 Jul 2004, 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

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

2004-07-04 Thread Alastair Reid
> Sorry, but why does [making process properties global values] not > break the purity? If i call a function, that depends on global > parameters twice within different environments it behaves > different. The argument goes that purity is concerned with what happens in a single run of the prog

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

2004-07-04 Thread David Menendez
Alastair Reid writes: > > > 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 > >

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

2004-07-04 Thread Georg Martius
On Sun, 4 Jul 2004 19:17:53 +0100, Alastair Reid <[EMAIL PROTECTED]> 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 ca

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

2004-07-04 Thread Alastair Reid
> 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 some > functio

[Haskell-cafe] Process properties as global values

2004-07-04 Thread Volker Wysk
Hi 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 some functions into