A more subtle issue is that there&#39;s some sort of memory leak that arises when you can&#39;t instruct the GC to follow projection functions of data types. I believe the GHC heap representation has a built-in notion of these forwarding closures and the GC follows them when possible, but most VM GCs are just black boxes. It might still be possible to create an artificial field in a representation of your closure that the GC can follow, but it could be tricky.<br>
<br><div class="gmail_quote">On Thu, Feb 23, 2012 at 11:59 AM, Tom Murphy <span dir="ltr">&lt;<a href="mailto:amindfv@gmail.com">amindfv@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
There are some substantial technical challenges:<br>
<br>
<a href="http://www.haskell.org/haskellwiki/GHC:FAQ#Why_isn.27t_GHC_available_for_.NET_or_on_the_JVM.3F" target="_blank">http://www.haskell.org/haskellwiki/GHC:FAQ#Why_isn.27t_GHC_available_for_.NET_or_on_the_JVM.3F</a><br>

<br>
Not that it can&#39;t be done, but there&#39;s nothing ready yet.<br>
<br>
Tom (IRC: amindfv)<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
On 2/23/12, ARJANEN Loïc Jean David &lt;<a href="mailto:arjanen.loic@gmail.com">arjanen.loic@gmail.com</a>&gt; wrote:<br>
&gt; Hello,<br>
&gt;<br>
&gt; Does any one knows of an Haskell compiler targeting the JVM ? And of one<br>
&gt; targeting the .Net virtual machine ?<br>
&gt;<br>
&gt; Regards,<br>
&gt; ARJANEN Loïc<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Haskell-Cafe mailing list<br>
&gt; <a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
&gt; <a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
&gt;<br>
<br>
_______________________________________________<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></div><br>