Making Int{Map,Set} polymorphic over the key type
Henning Thielemann
lemming at henning-thielemann.de
Sat Jun 29 17:01:11 UTC 2019
On Sat, 29 Jun 2019, Georg Rudoy wrote:
> The motivation is that oftentimes one needs to have a collection of
> newtype wrappers around Int, and then they have to either unpack/repack
> it around the relevant containers (which is not nice), or just use
> HashMap/HashSet (which is perhaps suboptimal).
There is already the enummapset package.
More information about the Libraries
mailing list