Would be nice to see an adaptation of Haskell's `accumArray`, which gives a handy shortcut around using `ST` to build an array.
Would be nice to see an adaptation of Haskell's
accumArray, which gives a handy shortcut around usingSTto build an array.