Re: Change to Posix.lhs

2000-03-23 Thread Volker Stolz

Should getEnvVar just be overloaded in Posix.lhs or should the whole thing
(System & PosixProcPrim) be changed?
-- 
Volker Stolz * [EMAIL PROTECTED] * PGP




Re: Change to Posix.lhs

2000-03-23 Thread George Russell

Volker Stolz wrote:
> 
> Should getEnvVar just be overloaded in Posix.lhs or should the whole thing
> (System & PosixProcPrim) be changed?
> --
> Volker Stolz * [EMAIL PROTECTED] * PGP
I was hoping that we wouldn't have any incompatible changes . . .

I think ideally that getEnv like functions should return Maybe rather than
raising an exception.  But we're stuck with the definition in the standard,
and I think that means Posix should stay the same as well. 
It's not really such a pain - you've got "try" which turns an error into an
Either.




RE: Importing instances without pangling Make

2000-03-23 Thread Simon Peyton-Jones

| At the time of writing, I am waiting for yet another long 
| Haskell re-make of
| lots of modules to complete.  The frustrating thing is, that 
| at least 90% of these
| remakes are actually completely unnecessary.  

OK, I have heard your cries, and have fixed GHC.
Try it.

Simon 




Re: Importing instances without pangling Make

2000-03-23 Thread George Russell

Simon Peyton-Jones wrote:
> 
> | At the time of writing, I am waiting for yet another long
> | Haskell re-make of
> | lots of modules to complete.  The frustrating thing is, that
> | at least 90% of these
> | remakes are actually completely unnecessary.
> 
> OK, I have heard your cries, and have fixed GHC.
> Try it.
Many thanks.  I will, tomorrow . . .