[darcs-devel] darcs patch: Use System.Process on Windows (and 3 more)

Eric Y. Kow eric.kow at gmail.com
Sun Dec 31 09:59:38 PST 2006


> 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://lists.osuosl.org/pipermail/darcs-devel/attachments/20061231/489e2135/attachment.pgp


More information about the darcs-devel mailing list