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 :) 

 I know about haskelldirect, i will probably just try to use that,
but I am curious :)


+++++++++++++++++++++++++++++++++++++++++++++++++
Ron Legere  -- http://www.its.caltech.edu/~legere
Caltech Quantum Optics
MC 12-33
Pasadena CA 91125
626-395-8343
FAX: 626-793-9506
+++++++++++++++++++++++++++++++++++++++++++++++++




Reply via email to