On Fri, Mar 17, 2000 at 08:51:38AM -0800, Simon Marlow wrote:
> Should we use a Maybe rather than an exception here? Probably, but then
> System.getVar doesn't return a Maybe, and the Posix library as a whole has a
> tendency towards exceptions rather than Maybe returns. So I'm swithering(*)
> on this one.
I'd prefer doing it the Haskell-way and treat libraries like Posix and Socket
as convenience-functions and fall back to {Posix,Socket}Prim for the ugly
stuff. IIRC even fork() doesn't return pids but Nothing | Just.
--
Volker Stolz * [EMAIL PROTECTED] * PGP