{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreidyjzb2cta5u7v4uih6rzvzvmjhg33ayeksxlel7ijqbsrngdqbvi",
"uri": "at://did:plc:pi6woz4d47bkuws673w2il2r/app.bsky.feed.post/3mpduidauhc62"
},
"path": "/t/can-noinline-fail-to-prevent-inlining/14324#post_6",
"publishedAt": "2026-06-27T22:40:50.000Z",
"site": "https://discourse.haskell.org",
"textContent": "Indeed, it apparently can inline the wrapper. But it should never inline the worker, which is the part that would contain the actual `unsafePerformIO` and the initialization of the IORef, so that is still safe.",
"title": "Can NOINLINE fail to prevent inlining?"
}