Proposed change to ForeignPtr

Malcolm Wallace Malcolm.Wallace at
Mon Aug 12 04:56:15 EDT 2002

Alastair Reid <alastair at> writes:

> I'm not sure which position you're preferring here.  I lean a bit
> towards using the old names for the new functions (the ones with free
> functions) and finding new names for the old functions (the ones with
> closure arguments).

That would be my preference as well.  Keep the existing standard names,
but change their type signatures to reflect what Hugs and nhc98 can
actually implement.  Add new names with the old signatures for what
ghc can additionally implement via its concurrency model.


More information about the FFI mailing list