PackedString
malcolm-ffi at cs.york.ac.uk
malcolm-ffi at cs.york.ac.uk
Wed Jan 10 08:42:07 EST 2001
> > Is anybody actually depending on the old `CString'? Or is
> > everybody using `PackedString' instead?
>
> I don't believe anyone is using PackedString, except for Regex which
> arguably should be using CString instead. I'd like to see a simpler
> PackedString which just corresponded to ByteArrays.
The nhc98 compiler uses PackedString extensively. The interface is
very standard - all of ghc, hbc, and nhc98 support it. Change the
implementation by all means if you wish, but not the interface.
Regards,
Malcolm
More information about the FFI
mailing list