Haskell's missing mutable reference type
Haskell Community [Unofficial]
June 14, 2026
michaelpj:
modifications to an
IOScopedRefin one thread would not be observed by another threadDo you mean any other thread, or would child threads see it?
I mean any thread, not even child threads.
michaelpj:
I’m pretty sure that’s what you would want, otherwise your logging example gets very annoying as soon as you do any concurrency inside a modification block.
I’m skeptical. Can you share an example?
Discussion in the ATmosphere