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
ptset/ptmap are broken under 4.05 (beta) #1
Comments
Duplicating anything violates a software engineering principle. |
I will use cppo to handle ocaml versions >= 4.05. |
I don't think you need to use a preprocessor: why not implement these functions for all OCaml versions? At worst, they will be hidden by a more restrictive signature on older versions. (In Batteries we do need a preprocessor because some of the features we expose depend on new runtime features that cannot be re-implemented externally. This is not the case here.) |
Good idea, I will try. |
related to #2 |
I prefer the idea of abandoning the compatibility with Set.S, in particular because functions such as |
opam-builder reports:
http://opam.ocamlpro.com/builder/html/ptset/ptset.1.0.0/2df016054683ba0af52a1ddae1f33d8a
http://opam.ocamlpro.com/builder/html/ptmap/ptmap.2.0.1/37f00ce2a1b7c7371cfab67b79c734aa
I suppose that you can either stop using the standard
Set.S
interface (by duplicating it) to not break on new releases, or implement the new functions. They come from ocaml/ocaml#869 .The text was updated successfully, but these errors were encountered: