Haskell's missing mutable reference type
Haskell Community [Unofficial]
June 10, 2026
tomjaguarpaw:
if
IOScopedRefexisted then I could instantiate theLoggerargument towriteUserDatato get the behaviour I desire
Yes, though I would object to this feature being implemented like that.
tomjaguarpaw:
I don’t know what “with references” means.
As in with either contextual values I outlined above or IOScopedRef.
Discussion in the ATmosphere