Hello!
On Tue, Mar 14, 2000 at 06:00:36PM -0800, Ronald J. Legere wrote:
> I know that GHC has _ccall_, but what way can I call
> foreign functions in Hugs? Is there a way? I see the primitive
> keyword used in prelude.hs, but really there is no docs
> that I can find about how to use it, or if that is what I should use.
> I poked around in the library a bit... I could not find any
> function of type String -> a -> IO a
> {Thats the type I imagine such a function having :)
There's the new unified FFI, using the "foreign" keyword. I believe,
there's a reference to the FFI paper from www.haskell.org.
And there's c2hs and there's green-card in addition to H/Direct.
> [...]
Regards, Hannah.