Is it possible to give C functions linked into a Haskell module the
ability to call various Haskell IO functions?

I wish that those Haskell functions could change some values pointed
to by IORefs known to the code which calls those C functions. So
probably the structure containing those IORefs would be passed to C
functions and then to Haskell functions.

Or is there another way to dynamically embed Perl code into Haskell,
giving it the ability to mutate values maintained by the Haskell
program? :-)

I know how to call C from Haskell, how to call Perl from C and I
am beginning to know how to call C from Perl. The missing part is
Haskell from C...

-- 
 __("<    Marcin Kowalczyk * [EMAIL PROTECTED] http://kki.net.pl/qrczak/
 \__/          GCS/M d- s+:-- a22 C+++>+++$ UL++>++++$ P+++ L++>++++$ E-
  ^^                W++ N+++ o? K? w(---) O? M- V? PS-- PE++ Y? PGP->+ t
QRCZAK                  5? X- R tv-- b+>++ DI D- G+ e>++++ h! r--%>++ y-

Reply via email to