> On Mon, Dec 25, 2006 at 11:46:36PM +0100, Eric Kow wrote:
> > These patches make Simon Marlow's runProcess stuff compile under GHC
> > 6.4.2.  Note that I haven't tested them very thoroughly.  Just did a
> > darcs record with long comments using both a 6.4.2 and 6.6 build.  This
> > doesn't tell us very much, except that darcs finds notepad.
> 
> Looks reasonable to me

Thanks; I'll just push them in, then.

> use of bracketOnError, which surprised me by calling unblock--I wish there
> were clearer semantics for deciding when to unblock and when not to
> unblock.  Usually I'd rather have a stack of blocks, which isn't what ghc
> gives us (so that if block was called twice, unblock would be needed twice
> to return to the original condition, so that (block . unblock) would be
> (effectively) an identity function.  At least for this bracketOnError,
> that's the semantics we'd like.  We could slightly work around this by
> manually blocking signals rather than just using block to avoid them.

I'll leave this for the Haskell library folk, or whoever it is that
wrote that function to comment :-)  I just dumbly copied.

-- 
Eric Kow                     http://www.loria.fr/~kow
PGP Key ID: 08AC04F9         Merci de corriger mon français.

Attachment: pgpH12PUn4r3Z.pgp
Description: PGP signature

_______________________________________________
darcs-devel mailing list
[email protected]
http://lists.osuosl.org/mailman/listinfo/darcs-devel

Reply via email to