
Cheers,
if we ignore the issue of raising exceptions from within extension
DLLs, there's a way for old and new DLLs to co-exist:
In modules with a 'needPrim_hugs' declaration with a value
of 4 or below, the interpreter simply decrements by one the
arity of 'primitive's with IO results. Hacky, but it'll do the job.
--sigbjorn
----- Original Message -----
From:
ross 2003/01/30 17:40:47 PST
Modified files: libraries/Hugs ConcBase.hs Exception.hs IOExts.hs Prelude.hs src connect.h iomonad.c tests/rts primexc.hs Log: Revert earlier change (removal of unused failure continuation from IO) as requested by Sigbjorn to restore binary compatibility.
Revision Changes Path 1.12 +3 -3 hugs98/libraries/Hugs/ConcBase.hs 1.9 +2 -2 hugs98/libraries/Hugs/Exception.hs 1.10 +2 -2 hugs98/libraries/Hugs/IOExts.hs 1.20 +14 -11 hugs98/libraries/Hugs/Prelude.hs 1.63 +3 -3 hugs98/src/connect.h 1.42 +34 -14 hugs98/src/iomonad.c 1.7 +3 -3 hugs98/tests/rts/primexc.hs _______________________________________________ Cvs-hugs mailing list Cvs-hugs@haskell.org http://www.haskell.org/mailman/listinfo/cvs-hugs