[Haskell-cafe] <<loop>> error message
Tobias Dammers
tdammers at gmail.com
Sat Jun 22 21:45:42 CEST 2013
On Sat, Jun 22, 2013 at 06:09:58AM +0300, Mihai Maruseac wrote:
> On Sat, Jun 22, 2013 at 12:41 AM, Omari Norman <omari at smileystation.com> wrote:
> > I compiled some code with GHC 7.6.3 that produces a simple error at runtime
> >
> > myProgramName: <<loop>>
> >
> > At which point the program exits with code 1.
> >
> > Is there documentation for this error anywhere? Does it mean I have some
> > infinite loop in my code somewhere? If so, does GHC catch all infinite
> > loops? I have never gotten this error before. Thanks.
>
> Hi,
>
> Indeed, you have an infinite loop in your code. However, not all
> infinite loops are catcheable by the mechanism employed there, it
> would be very hard to do so.
Some are even impossible to catch at all, a.k.a. the Halting Problem.
More information about the Haskell-Cafe
mailing list