External Publication
Visit Post

Haskell's missing mutable reference type

Haskell Community [Unofficial] June 9, 2026
Source

prophet:

I’m guessing the use case here is that you have a computation that already somehow captures the IOScopedRef

Right.

prophet:

Do you have an example where this is useful to have?

“A logging library” from the article is supposed to provide such an example. Is there something I could do to make that clearer? (Also feel free to skip forward two articles in the series to “Fork-fragile reader-like operations in Haskell” to see more.)

Discussion in the ATmosphere

Loading comments...