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



Reply via email to