<<loop>> problems

Neil Mitchell ndmitchell at gmail.com
Thu Jul 20 16:58:07 EDT 2006


> I have some code that just says
> <<loop>>

This behaviour is also caused by black holes, for example:

main = let x = x + 5 in print x

gives this same error. Note that the value of x depends on the value
of x. Hence you get a circular problem, which would non-terminate, but
the compiler can spot this self-dependance and says <<loop>> instead.

Maybe one of your two other functions have this problem?



More information about the Glasgow-haskell-users mailing list