> I want to be able to take a simple C program and
> access a function from it in Haskell. A simple example
The attachement is a file where the Haskell program first creates the
C-source, compiles it to an shared object file, loads the object using
the dynamic linker and uses the just constructed function.
Regards,
--
-- Mirko Rahn -- Tel +49-721 608 7504 --
--- http://liinwww.ira.uka.de/~rahn/ ---
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DL.hs
Type: text/x-haskell
Size: 2149 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20070216/0dfcdb54/DL.bin