[Haskell-cafe] Re: A GHC error message puzzle

Sebastian Fischer sebf at informatik.uni-kiel.de
Thu Aug 12 17:27:39 EDT 2010


> Wei Hu wrote:
>> nonTermination _ = blackhole where blackhole = blackhole
>
> My original example was actually:
>
> process :: String -> String
> process = let x = x in x

     process = process

works just as well.

What about the other part of the solution:

> What is the cause of the error?

Of course, the cause is the black hole. But why is it not reported?

Sebastian


-- 
Underestimating the novelty of the future is a time-honored tradition.
(D.G.)





More information about the Haskell-Cafe mailing list