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 Stdlib type equality to Set.Make, Map.Make and Hashtbl.Make #1132

Merged
merged 2 commits into from
May 7, 2024

Conversation

sim642
Copy link
Contributor

@sim642 sim642 commented May 4, 2024

For most types batteries already has such type equalities, but crucially for BatSet.Make, BatMap.Make and BatHashtbl.Make they were missing. Containers has the same type equalities exposed.

These are particularly useful for when batteries lags behind Stdlib (which can often happen nowadays) and one wants to use some functions from batteries, but also new ones from Stdlib. This type equality makes it at least possible without having to immediately patch batteries every time and wait for a release.

@sim642 sim642 changed the title Add Stdlib type equality to Set, Map and Hashtbl Add Stdlib type equality to Set.Make, Map.Make and Hashtbl.Make May 4, 2024
@UnixJunkie UnixJunkie merged commit 87f35e1 into ocaml-batteries-team:master May 7, 2024
15 checks passed
@UnixJunkie
Copy link
Member

thanks a lot!

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