unsafePerformIO safety.
Neil Mitchell
ndmitchell at gmail.com
Tue Mar 6 18:56:19 EST 2007
Hi
On 3/6/07, Lennart Augustsson <lennart at augustsson.net> wrote:
> 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
More information about the Glasgow-haskell-users
mailing list