nikita-volkov / stm-containers

Containers for STM
http://hackage.haskell.org/package/stm-containers
MIT License
66 stars 13 forks source link

Add DMap similar to the one from dependent-map #24

Open 3noch opened 5 years ago

3noch commented 5 years ago

https://hackage.haskell.org/package/dependent-map-0.2.4.0/docs/Data-Dependent-Map.html provides a "heterogeneous" map type, allowing keys to determine the type of the values.

nikita-volkov commented 5 years ago

I think it would be better for someone to implement it as a separate package, I would rather not take it on for maintenance. If a lower-level interface will be needed, the internals of "stm-containers" are now exposed by the "stm-hamt" package.