While I quite like IntMap its use often leads to primitive blindness, and really I probably want some sort of newtype over Int as the key most of the time, such as a DB key or an entity id. EnumMap seems to solve that issue, so I would like to get EnumMap up to par with IntMap on what instances it has.
While I quite like
IntMapits use often leads to primitive blindness, and really I probably want some sort of newtype overIntas the key most of the time, such as a DB key or an entity id.EnumMapseems to solve that issue, so I would like to getEnumMapup to par withIntMapon what instances it has.