[Haskell-beginners] A possibly foolish question

Thomas Davie tom.davie at gmail.com
Thu Feb 12 17:53:49 EST 2009


On 12 Feb 2009, at 21:39, Alan Cameron wrote:

> Is it possible to have a Haskell function or functions included in a  
> C++
> program's structure and used as a procedure?

Yes, see the FFI (or Foreign Function Interface) documentation.   
That'll let you export Haskell functions into C land, and from there  
to C++.

Bob


More information about the Beginners mailing list