---------- 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 <http://www.haskell.org/haskellwiki/GHC/Using_the_FFI>Also refer to http://qthaskell.berlios.de/ (thats a practical example of QtHaskell, which is a haskell binding to a C++ library, being Qt) <http://qthaskell.berlios.de/> 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@haskell.org>
_______________________________________________ Beginners mailing list Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners
eh woops, sorry about what happened above with the mailing list, still figuring out mutt =D On Sat, Aug 7, 2010 at 7:21 PM, Mathew de Detrich <deteego@gmail.com> wrote:
---------- 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
<http://www.haskell.org/haskellwiki/GHC/Using_the_FFI>Also refer to http://qthaskell.berlios.de/ (thats a practical example of QtHaskell, which is a haskell binding to a C++ library, being Qt)
<http://qthaskell.berlios.de/>
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@haskell.org>
_______________________________________________ Beginners mailing list Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners
participants (1)
-
Mathew de Detrich