RE: ffi howto

2002-07-30 Thread Simon Marlow
If someone could post an example of a hs and a c file and how to compile it with ghc, i would be very apreciative. I have looked at http://www.haskell.org/ghc/docs/latest/html/users_guide/sec-ff i-ghc.html for a long time, and I can't figure out how to reproduce the example. I

RE: ffi howto

2002-07-30 Thread jacob colvin
From: Simon Marlow [EMAIL PROTECTED] To: jacob colvin [EMAIL PROTECTED],[EMAIL PROTECTED] Subject: RE: ffi howto Date: Tue, 30 Jul 2002 13:47:03 +0100 If someone could post an example of a hs and a c file and how to compile it with ghc, i would be very apreciative. I have looked at