You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Sorry for being late. I'd rather have instances in the same location as the datatype declaration but the author seems to disagree. I'll add instances here for now.
While I quite like
IntMap
its use often leads to primitive blindness, and really I probably want some sort of newtype overInt
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 getEnumMap
up to par withIntMap
on what instances it has.The text was updated successfully, but these errors were encountered: