Don,<br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">
><br>
> Having painless Haskell <- Java interoperability would be great. I'm<br>
> curious though: could it really be so simple as a one-line ``import<br>
> foreign jvm'' directive? I imagine the purity mismatch between<br>
> Haskell and Java would be very troublesome.<br>
<br>
</div>No more so than C, surely. We're used to stateful APIs. They're a pain.<br>
<div class="im"><br>
<br>
> With this hypothetical ``import foreign jvm'' mechanism, what would<br>
> the be type of imported Java stuff? Would it all be done in IO?<br>
><br>
> The more I think about it, the trickier it seems. Beside the purity<br>
> mismatch of Haskell and Java, there is an OO/functional mismatch.<br>
<br>
</div>That's more of an issue. But the prior work has been done.<br></blockquote><div><br>Do you have any references to this work? <br><br>I'm quite interested in this, both from a Haskell perpective (although I'm still a beginner) and from being the author of a Perl <-> Java interoperability module (see <a href="http://search.cpan.org/~patl/Inline-Java-0.52/">http://search.cpan.org/~patl/Inline-Java-0.52/</a>). <br>
<br>Thanks,<br><br>Patrick<br><br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div class="h5">_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
</div></div></blockquote><br></div><br><br clear="all"><br>-- <br>=====================<br>Patrick LeBoutillier<br>Rosemère, Québec, Canada<br><br>