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.)



_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to