Better implementation of hang?
Closed this issue · 4 comments
aDifferentJT 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 commented
I'd expect GHC's RTS to throw a "black hole" error.
aDifferentJT commented
It didn’t when I tried it on ghci, optimisations may cause different behaviour though
conal commented
As I understand it, GHCi behaves differently from compiled Haskell code in this regard.
aDifferentJT commented
You are indeed right