Closed ethul closed 9 years ago
Is the only difference the two new methods push
and splice
? Maybe we could move some of the additional methods into an st-extras
package or something. I'd prefer to keep Prelude
small if we can.
Right, so far just push and splice methods on array, and a read/write function for the ref. I think an st-extras
would work well. Though, would it make sense to make a purescript-arrayrefs
module for these functions?
I'd like to add more functions into Data.Array.ST
, like splice
, and other things which are missing like pop
, enqueue
, etc.
Maybe Angular.ST would fit with Control.Monad.ST or purescript/purescript-refs?