FFI proposal: allow some control over the scope of C header
files
Malcolm Wallace
Malcolm.Wallace at cs.york.ac.uk
Thu May 4 08:31:18 EDT 2006
Manuel M T Chakravarty <chak at cse.unsw.edu.au> wrote:
> This leaves me with the opinion that we should really leave this as
> pragma and not make it into FFI syntax. It's a hint to some
> implementations and irrelevant to others.
Ah well, if we use that eminently sensible criterion, then the
"safe/unsafe" annotation on foreign imports ought to be in a pragma too.
For some implementations (yhc/nhc98) it is simply irrelevant, it is
really a ghc-ism. :-)
Regards,
Malcolm
More information about the Haskell-prime
mailing list