[Haskell-cafe] Way to prevent a value from being garbage collected too early

YueCompl compl.yue at icloud.com
Wed May 13 06:47:36 UTC 2020


Folks,

I need a little help, I remember I had read some where that, there's a function to fake a use of a value, so it won't be garbage collected too early, as GHC has an optimization to forget a value as early as possible. But I can't remember the function name or even the keyword to google it out, hint me please!

Best regards,
Compl



More information about the Haskell-Cafe mailing list