<<loop>> problems
Chad Scherrer
chad.scherrer at gmail.com
Thu Jul 20 17:36:26 EDT 2006
Yep, it was buried in the matrix inversion. Thanks!
On 7/20/06, Neil Mitchell <ndmitchell at gmail.com> wrote:
> Hi,
>
> > 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?
>
> Thanks
>
> Neil
>
--
Chad Scherrer
"Time flies like an arrow; fruit flies like a banana" -- Groucho Marx
More information about the Glasgow-haskell-users
mailing list