yes it is - and it's IMO exactly the thing to do - at least for purescript where FFI is a primary concern (yes I know Elm is moving away from anything similar - that's why purescript might get more interesting for people who want/need more that ports)
Different use cases. The thing you linked to will have horrible write performance for large arrays.
that's probably why there are the warnings at the very top ;)
if you want performance then probably finger-tree approaches (pursuit.purescript.org/packages/pu... ) are sensible ... it of course all depends on what you are trying to do
Finger trees are cool, but no replacement for a proper immutable array implementation, and they’re not general purpose enough to be the default.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.