{
  "$type": "site.standard.document",
  "bskyPostRef": {
    "cid": "bafyreigl5ex35o6ahjbkcfotd6yk5rjbj5whzas5te7kjsc2rqmbugbjue",
    "uri": "at://did:plc:pi6woz4d47bkuws673w2il2r/app.bsky.feed.post/3mnwsos6lezv2"
  },
  "path": "/t/haskells-missing-mutable-reference-type/14248?page=2#post_29",
  "publishedAt": "2026-06-10T12:36:35.000Z",
  "site": "https://discourse.haskell.org",
  "textContent": "BurningWitness:\n\n> tomjaguarpaw:\n>\n>> if `IOScopedRef` existed then I could instantiate the `Logger` argument to `writeUserData` to get the behaviour I desire\n>\n> Yes, though I would object to this feature being implemented like that.\n\nSorry, what feature? Do you mean I shouldn’t use `IOScopedRef` (if it existed) to get the behaviour I desire, or `IOScopedRef` shouldn’t be implemented? In either case, what do you object to?\n\nBurningWitness:\n\n> tomjaguarpaw:\n>\n>> I don’t know what “with references” means.\n>\n> As in with either `contextual` values I outlined above or `IOScopedRef`.\n\nWith “references”, the libraries providing `Logger` and `writeUserData` need not know anything about the existence of “references”. Only the caller need use them.",
  "title": "Haskell's missing mutable reference type"
}