Alex asked:
> > Greencard allows Haskell to call C (or Corba).  Is there a way to give C
> > code access to Haskell functions?
 
Simon writes:
> GHC does not yet allow this, but we are working hard on H/Direct,
> a successor to Greencard, that will.  It'll also allow you to
> seal up Haskell programs inside COM objects.  Timescale: a month
> or two rather than a day or two.

Calling Haskell from C is also possible now with nhc13, although, as
with Hugs, the mechanism is currently a little convoluted.  We at York
are working on YASTGC (yet another successor to GreenCard!) which will
make it all rather cleaner - although I suspect this design is somewhat
less advanced than Simon's.

Regards,
    Malcolm


Reply via email to