First I am a Haskell newbie. I\'ve read this: Immutable functional objects in highly mutable domain And my question is nearly the same -- how to efficiently write algorithms whe
The ST Monad lets you use mutable state internally, but present a pure external interface.