Don, > > > Having painless Haskell <- Java interoperability would be great. I'm > > curious though: could it really be so simple as a one-line ``import > > foreign jvm'' directive? I imagine the purity mismatch between > > Haskell and Java would be very troublesome. > > No more so than C, surely. We're used to stateful APIs. They're a pain. > > > > With this hypothetical ``import foreign jvm'' mechanism, what would > > the be type of imported Java stuff? Would it all be done in IO? > > > > The more I think about it, the trickier it seems. Beside the purity > > mismatch of Haskell and Java, there is an OO/functional mismatch. > > That's more of an issue. But the prior work has been done. >
Do you have any references to this work? 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 http://search.cpan.org/~patl/Inline-Java-0.52/). Thanks, Patrick _______________________________________________ > Haskell-Cafe mailing list > Haskell-Cafe@haskell.org > http://www.haskell.org/mailman/listinfo/haskell-cafe > -- ===================== Patrick LeBoutillier Rosemère, Québec, Canada
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe