---------- Forwarded message ----------
From: Mathew de Detrich <deteego@gmail.com>
Date: Sat, Aug 7, 2010 at 7:19 PM
Subject: Re: [Haskell-beginners] Foreign function interface?
To: aditya siram <aditya.siram@gmail.com>


Actually it is possible to use C++ with FFI without having to use a C Wrapper (albeit its quite complicated)
http://www.haskell.org/haskellwiki/Cxx_foreign_function_interface

Also refer to http://qthaskell.berlios.de/ (thats a practical example of QtHaskell, which is a haskell binding to a C++ library, being Qt)



On Sat, Jul 31, 2010 at 6:49 AM, aditya siram <aditya.siram@gmail.com> wrote:
>  Can it interface with C++ as well as C?
No you have to wrap your C++ code in C.
-deech

_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://www.haskell.org/mailman/listinfo/beginners