"Sigbjorn Finne (Intl Vendor)" wrote:
> [...] Here's a simple example demonstrating how to call into
> Haskell from C
> [...]
> foreign export "putChar" putChar :: Char -> IO ()
> [...]

Just for clarification: *This* is the part which calls C from
Haskell again, so the whole story is C -> Haskell -> C.
Nice example, anyway.

Cheers,
   Sven
-- 
Sven Panne                                        Tel.: +49/89/2178-2235
LMU, Institut fuer Informatik                     FAX : +49/89/2178-2211
LFE Programmier- und Modellierungssprachen              Oettingenstr. 67
mailto:[EMAIL PROTECTED]            D-80538 Muenchen
http://www.informatik.uni-muenchen.de/~Sven.Panne

Reply via email to