25 points · by based2 · 8y ago · 7 comments
And no, just to be sure, this library isn't extremely popular. Most of the time, just `TVar (HashMap k a)` is fine.
«deleting or inserting a row requires marking the outer TVar as changed, so multiple transactions cannot be modifying the table structure concurrently»
I know precious nothing about STM in Haskell, so just asking.