2 ms·
Not really. Mutable refs are provided by ST, which allows for chunks of your program where you are mutating state, but where the mutable state can't leak outsi
by jrockway 16y ago
Not really. Mutable refs are provided by ST, which allows for chunks of your program where you are mutating state, but where the mutable state can't leak outside of boundaries you set.
(There is also the good-old-IORef, but I avoid IO for anything that's not input or output.)