[EMAIL PROTECTED] writes:
A "black hole" is what happens when evalation of something recursively
depends on its own evaluation in such a way that no useful work can be
done. An example is: let omega = omega + 1 in omega
In previous GHCs, that triggered am error which used the phrase "black
hole".  Now, I think it just consumes the heap and/or stack.  On my
2005-era Hugs, it causes a seg fault.

Strange, because blackohes are visible by the runtime.
Clean should say: "Warning, cycle in spine detected", and stop. Jerzy Karczmarczuk
PS. Perhaps Simon decided to think more literally about the black hole
  as it is in the theory of relativity?
  You know, when you descend a probe into it, and look from a faraway,
  safe distance, it takes an infinite amount of time for the probe to
reach the event horizon...

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

Reply via email to