Example: Binding C++ to Haskell using the ffi
David Sankel <[email protected]>
| Newsgroups | gmane.comp.lang.haskell.ffi,gmane.comp.lang.haskell.gui |
|---|---|
| Message-ID | <[email protected]> |
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