{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreidousit4yvni7w53bgqbkoa73h3cimuwfuvnsu6wuyilxqezi6n3m",
"uri": "at://did:plc:pi6woz4d47bkuws673w2il2r/app.bsky.feed.post/3mnw6k5doyqi2"
},
"path": "/t/a-reference-implementation-of-ioscopedref/14253#post_1",
"publishedAt": "2026-06-10T06:39:46.000Z",
"site": "https://discourse.haskell.org",
"tags": [
"Haskell's missing mutable reference type",
"Links",
"Scoped thread-locals",
"haskells-missing-mutable-ref",
"A reference implementation of IOScopedRef"
],
"textContent": "Following up from yesterday’s post:\n\nHaskell's missing mutable reference type Links\n\n> Whilst looking at the Scoped thread-locals GHC proposal I realised that Haskell is missing a mutable reference type that some other languges have (and people have tried to encode in Haskell), so I wrote it up: haskells-missing-mutable-ref\n\nToday I show a reference implementation for `IOScopedRef`:\n\n * A reference implementation of IOScopedRef\n\n",
"title": "A reference implementation of IOScopedRef"
}