Comment by zopa
12 years ago
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.