Better implementation of hang?
aDifferentJT opened this issue · comments
Jonathan Tanner commented
I may be mistaken but does hang = hang
not serve as an adequate implementation, it does not seem to use much in the way of resources.
Conal Elliott commented
I'd expect GHC's RTS to throw a "black hole" error.
Jonathan Tanner commented
It didn’t when I tried it on ghci, optimisations may cause different behaviour though
Conal Elliott commented
As I understand it, GHCi behaves differently from compiled Haskell code in this regard.
Jonathan Tanner commented
You are indeed right