cvs commit: hugs98/libraries/Hugs ConcBase.hs Exception.hs
IOExts.hs Prelude.hs hugs98/src connect.h iomonad.c hugs98/tests/rts
primexc.hs
Ross Paterson
ross@soi.city.ac.uk
Fri, 31 Jan 2003 12:09:57 +0000
On Thu, Jan 30, 2003 at 06:15:38PM -0800, Sigbjorn Finne wrote:
> if we ignore the issue of raising exceptions from within extension DLLs,
There's no way for them to raise exceptions, is there?
> 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.
How can we distinguish IO and pure primitives?
Also, new and old ones would need different versions of returnIO.