Thanks.<br><br><div class="gmail_quote">On Sat, Jun 2, 2012 at 12:57 PM, Michal Terepeta <span dir="ltr">&lt;<a href="mailto:michal.terepeta@gmail.com" target="_blank">michal.terepeta@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">
<div class="HOEnZb"><div class="h5">On 01.06 11:06, John Van Enk wrote:<br>
&gt; Hi Cafe,<br>
&gt;<br>
&gt; Is there a reason that the GHCi interpreter doesn&#39;t detect and report<br>
&gt; infinite loops in statements like this (like compiled programs do) even<br>
&gt; though no CPU time appears to be used? My (admittedly weak) searching for<br>
&gt; an answer didn&#39;t turn much up.<br>
&gt;<br>
&gt; let s | not $ null s = [] in s<br>
&gt;<br>
&gt; GHCi v7.0.4 on OSX<br>
&gt;<br>
&gt; Thanks,<br>
&gt; John<br>
<br>
</div></div>Hi John,<br>
<br>
I think this is a known problem in GHCi:<br>
<a href="http://hackage.haskell.org/trac/ghc/ticket/2786" target="_blank">http://hackage.haskell.org/trac/ghc/ticket/2786</a><br>
<br>
Regards,<br>
Michal<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>
</blockquote></div><br>