7 Mar
2007
7 Mar
'07
5:26 a.m.
Hi
On 3/6/07, Lennart Augustsson
Yeah, you really need {-# NOINLINE var #-} to make it reasonable safe.
Couldn't GHC bake in knowledge about unsafePerformIO, and never inline it? It is a slightly hacky solution, but since unsafePerformIO is pretty much only used in hacks, I think its almost fitting. Thanks Neil