Lennart Augustsson <[EMAIL PROTECTED]> writes: > ... > Can't we agree on a name and make it one of the "commonly > implemented extensions" to Haskell? That way I can still > feel that Haskell is pure, but if you feel the urge to use > it you can still do it. I'd actually prefer the performOnceBeforeMain > solution if someone can come up with some simple restrictions > to make it work. > I think this is a good compromise, leave System.getArgs as it is and have a new extension module called SystemExt (?) that would contain constants for argv and the environment (and leave room for growth for other System overflow). If it turns out that at some future crossroads for the Haskell libraries, argv is so commonly used, then move it to System. I'm happy with that. I haven't thought through `performOnceBeforeMain' and its implications. --Sigbjorn
- Re: Making argv a constant Sigbjorn Finne
- Re: Making argv a constant nikhil
- Re: Making argv a constant Lennart Augustsson
- Re: Making argv a constant Fergus Henderson
- Re: Making argv a constant Fergus Henderson
- Re: Making argv a constant Sigbjorn Finne
- Re: Making argv a constant Fergus Henderson
- Re: Making argv a constant trb
- Re: Making argv a constant Sverker Nilsson
- Re: Making argv a constant Lennart Augustsson
- Re: Making argv a constant Sigbjorn Finne
- Re: Making argv a constant Sigbjorn Finne
- Re: Making argv a constant Frank Christoph
- Re: Making argv a constant Andrew Gordon
- Re: Making argv a constant Sverker Nilsson
- Re: Making argv a constant Philip Wadler/bin/ksh
- Re: Making argv a constant Sigbjorn Finne
- Re: Making argv a constant Johannes Waldmann
- Re: Making argv a constant Fergus Henderson
- Re: Making argv a constant reid-alastair
- Re: Making argv a constant Claus Reinke