On Sun, Dec 31, 2006 at 18:59:38 +0100, Eric Y. Kow wrote: > > 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.
Argh! I spoke too soon. These patches make the external.pl script hang
on Unix. The problem seems to be that the patch switches from the
bracket in the old IO module to the new Control.Exception.bracket.
bracket before after m = do | bracket before after thing =
x <- before | block (do
rs <- try (m x) | a <- before
after x | r <- catch
case rs of | (unblock (thing a))
Right r -> return r | (\e -> do { after a; throw e })
Left e -> ioError e | after a
| return r
| )
try f = |
catch (do r <- f |
return (Right r)) |
(return . Left) |
Anyway, I don't really have time to look at this right now. I guess this
will have to wait till next week.
--
Eric Kow http://www.loria.fr/~kow
PGP Key ID: 08AC04F9 Merci de corriger mon français.
pgpuBGnmJS1cP.pgp
Description: PGP signature
_______________________________________________ darcs-devel mailing list [email protected] http://lists.osuosl.org/mailman/listinfo/darcs-devel
