Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add EnumMap instances #30

Open
tysonzero opened this issue Jan 2, 2019 · 2 comments
Open

Add EnumMap instances #30

tysonzero opened this issue Jan 2, 2019 · 2 comments

Comments

@tysonzero
Copy link

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.

@tysonzero
Copy link
Author

Mikolaj/enummapset#14

@fumieval
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants