[Haskell-cafe] what is f=f (not) doing ?

Andrew Coppin andrewcoppin at btinternet.com
Sun Sep 23 04:59:13 EDT 2007


Peter Verswyvelen wrote:
> http://www.haskell.org/ghc/docs/2.10/users_guide/user_146.html 
> <http://www.haskell.org/ghc/docs/2.10/users_guide/user_146.html>seems 
> to confirm that?

Ouch.

Would it be possible to somehow prevent this behavious? (E.g., by 
somehow annotating each black hole with *which* thread is evaluating it, 
so that if a thread reaches one of the black holes that it created 
itself, it can throw an error..?)



More information about the Haskell-Cafe mailing list