External Publication
Visit Post

Haskell's missing mutable reference type

Haskell Community [Unofficial] June 10, 2026
Source

It’s not a “you can” question, the person writing the library either provides you with the functions to do a given thing or they don’t.

In current Haskell you need to augment the Logger and pass the modified value to all relevant functions.

With references the library would declare an implicit configuration reference and you’d augment that for all functions invoked within a context.

Discussion in the ATmosphere

Loading comments...