2 ms·
How do I embed your Haskell library in my Lisp program? This is where C shines...it can be used everywhere, including embedded in other programs, now matter wha
by orthecreedence 13y ago
How do I embed your Haskell library in my Lisp program? This is where C shines...it can be used everywhere, including embedded in other programs, now matter what language it's in.
- zopa 13y agoLike this: http://www.haskell.org/ghc/docs/latest/html/users_guide/ffi-ghc.html#ffi-library http://www.haskell.org/ghc/docs/latest/html/users_guide/ffi-.... Haskell's FFI works both ways. (It's not free: you need to link in the entire Haskell runtime system, which is not small. But you can absolutely do it.)
- orthecreedence 13y agoCool, thanks for the link. Didn't know this was possible.