{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreiapvxuucc63qba7rh5eg55xs4s2vljlva7kk6cf7uijlzowxeaagq",
"uri": "at://did:plc:pi6woz4d47bkuws673w2il2r/app.bsky.feed.post/3mnwsoz35z3b2"
},
"path": "/t/haskells-missing-mutable-reference-type/14248?page=2#post_27",
"publishedAt": "2026-06-10T12:29:21.000Z",
"site": "https://discourse.haskell.org",
"textContent": "OK, so are we agreed, then, that if `IOScopedRef` existed then I could instantiate the `Logger` argument to `writeUserData` to get the behaviour I desire? And that with only the primitives provided by Haskell as it currently stands, the `Logger` argument to `writeUserData` cannot be instantiated in a way that gives me the behaviour that I desire. Instead `Logger` or `writeUserData` or both would need to be changed?\n\nBurningWitness:\n\n> With references the library would declare an implicit configuration reference and you’d augment that for all functions invoked within a context.\n\nI don’t know what “with references” means.",
"title": "Haskell's missing mutable reference type"
}