Proposal #2: marshalling utilites

Simon Marlow simonmar at microsoft.com
Wed Dec 6 06:04:25 EST 2000


> Simon Marlow <simonmar at microsoft.com> wrote,
> > [...] With that in mind, I'll propose the following changes:
> > [...]
> 
> I agree with Manuel here:
> 
>    * Basically a "Make it so!"
> 
>    * Error handling should go into another module, but I'll
>      stay off the naming battlefield this time.  :-)
> 
>    * errno *is* a thread local thing, of course.

Not a Haskell thread local thing, unfortunately.  I *really* don't want
to have a private errno in each Haskell thread object, which gets copied
in after every foreign call.  Anyone have any bright ideas here?

>    * s/Marshal/MarshalUtils/

ok, that seems to be the consensus.

Cheers,
	Simon




More information about the FFI mailing list