Using Haskell with Java
Bjorn Bringert
d00bring at dtek.chalmers.se
Fri Jan 7 18:59:10 EST 2005
Dmitri Pissarenko wrote:
> I would like to know whether it is possible to write algorithmic (let's call
> them back-end) parts of a system in Haskell and user interface in Java?
You could probably use the "foreign export" feature of the Haskell
Foreign Function Interface [1] to make your Haskell function(s) callable
from C, and then write a Java Native Interface [2] wrapper in C.
/Bjorn
[1] http://www.cse.unsw.edu.au/~chak/haskell/ffi/
[2] http://java.sun.com/docs/books/tutorial/native1.1/
More information about the Glasgow-haskell-users
mailing list