Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


Like this: 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.)


Cool, thanks for the link. Didn't know this was possible.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: