Hi Peter,
it seems that this question has been already raised before:
http://www.haskell.org/pipermail/haskell-cafe/2005-January/008244.html
and there are some .Net interop implementations on the net (it is a question how mature they are, however):
http://php.cin.ufpe.br/~haskell/haskelldotnet/
http://haskell.forkio.com/dotnet/
I heard that compiling Haskell to Java is not obvious since tail calls
are not supported.
.NET's intermediate language (IL) does support tail calls, however it
is currently slower than regular calls, and is not always supported by
all JITs.
But given that F# will soon be officially released, I hope that
eventually tail calls will work as expected, and fast
See e.g. http://blogs.msdn.com/clrcodegeneration/archive/2009/05/11/tail-call-improvements-in-net-framework-4.aspx
So, might it be worth considering a .NET backend for a Haskell compiler?
Peter Verswyvelen
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe