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

Safer and simpler versions #7

Merged
merged 1 commit into from
Sep 8, 2018
Merged

Safer and simpler versions #7

merged 1 commit into from
Sep 8, 2018

Conversation

treeowl
Copy link
Collaborator

@treeowl treeowl commented Sep 7, 2018

  • Make StableName.Map work for GADTs.

  • Use HashMap everywhere instead of IntMap (for simplicity).

  • Make insertWith' as strict as advertised.

  • Add missing adjust variants.

Closes #6

* Make `StableName.Map` safe, and add an unsafe `StableName.Map.Unsafe`.

* Add a more flexible safe version, `StableName.TypeMap`.

* Use `HashMap` everywhere instead of `IntMap`.

* Make `insertWith'` as strict as advertised.

* Add missing `adjust` functions.
@treeowl
Copy link
Collaborator Author

treeowl commented Sep 8, 2018

That was quick!

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

Successfully merging this pull request may close these issues.

2 participants