Example: Binding C++ to Haskell using the ffi

David Sankel <[email protected]>
Newsgroups gmane.comp.lang.haskell.gui,gmane.comp.lang.haskell.ffi
Message-ID <[email protected]>
Sorry, forgot attachment . . . again. :-P

--

Here is some example code doing just that.  It uses
ghc.

Questions:

Can one think of better ways to interface generic c++
libraries to Haskell?  What do you think of the ->>
member function operator?

for the ffi people:

Has any though gone into cplusplus?  If so, how would
it interface?  Would stubs on the c++ side be
generated or would it use the code directly.

Later,

David J. Sankel
fooble2.tar.bz2 (application/octet-stream, 2.8 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.