https://hackage.haskell.org/package/primitive-0.7.4.0/docs/D...
That's what I meant: You can mostly use tree-like log(n) data structures rather nicely but you'll have to isolate your mutating code into stuff like PrimMonad, see:
I like Haskell because it lets me write clean interfaces at a high level but fall back to byte-level stuff when needed.
https://hackage.haskell.org/package/primitive-0.7.4.0/docs/D...
That's what I meant: You can mostly use tree-like log(n) data structures rather nicely but you'll have to isolate your mutating code into stuff like PrimMonad, see:
https://hackage.haskell.org/package/primitive-0.7.4.0/docs/D...
I like Haskell because it lets me write clean interfaces at a high level but fall back to byte-level stuff when needed.