
6 Mar
2007
6 Mar
'07
6:56 p.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