[Haskell-cafe] GHCi Loop Detection

John Van Enk vanenkj at gmail.com
Mon Jun 11 22:43:03 CEST 2012


Thanks.

On Sat, Jun 2, 2012 at 12:57 PM, Michal Terepeta
<michal.terepeta at gmail.com>wrote:

> On 01.06 11:06, John Van Enk wrote:
> > Hi Cafe,
> >
> > Is there a reason that the GHCi interpreter doesn't detect and report
> > infinite loops in statements like this (like compiled programs do) even
> > though no CPU time appears to be used? My (admittedly weak) searching for
> > an answer didn't turn much up.
> >
> > let s | not $ null s = [] in s
> >
> > GHCi v7.0.4 on OSX
> >
> > Thanks,
> > John
>
> Hi John,
>
> I think this is a known problem in GHCi:
> http://hackage.haskell.org/trac/ghc/ticket/2786
>
> Regards,
> Michal
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20120611/bb75d364/attachment.htm>


More information about the Haskell-Cafe mailing list