Calling Haskell from Python / C++
Thu, 14 Nov 2002 13:50:02 -0000
I hope it's all described adequately in the GHC user manual
If not, let us know!
| -----Original Message-----
| From: Peter Simons [mailto:firstname.lastname@example.org]
| Sent: 13 November 2002 10:07
| To: email@example.com
| Subject: Re: Calling Haskell from Python / C++
| Simon Peyton-Jones writes:
| > If Python uses C's calling convention, it might be easy; just use
| > 'foreign import' and 'foreign export' (see the FFI spec at
| > haskell.org).
| I remember reading that the main program, that wants to call Haskell
| code, would have to be compiled with a special Haskell main() routine,
| though? Is that true? And if, why is that necessary?
| Haskell-Cafe mailing list