-
Couldn't load subscription status.
- Fork 374
Cleanup OpamStd of duplicated functions that already exist in Stdlib #6442
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
Cleanup OpamStd of duplicated functions that already exist in Stdlib #6442
Conversation
b38f27d to
c592209
Compare
20f6dce to
3be9b6e
Compare
| | (k, v, comment) :: r -> | ||
| if OpamConsole.verbose () then | ||
| OpamStd.Option.iter (Printf.ksprintf output ": %s;\n") comment; | ||
| Stdlib.Option.iter (Printf.ksprintf output ": %s;\n") comment; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Side note for reviewers: explicit uses of Stdlib is required in opam-client and opam-solver because extlib (used via dose3) shadows the standard library module
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Good cleaning!
I took the opportunity to indent some lines.
As discussed, we'll try to merge #6394 to live test the job with this PR (and ease the maintenance job on these projects).
|
Note to myself for whenever i rebase this: OpamStd.Set.map is also redundant |
3be9b6e to
549d609
Compare
549d609 to
d548c62
Compare
|
OCaml Benchmarks seems to show a 3 to 8% speedup |
fef413e to
c591adf
Compare
c591adf to
bf9c1c9
Compare
bf9c1c9 to
5e75ded
Compare
…hat already exist in Stdlib.{Set,Map} and have the same behaviour
5e75ded to
a5eec66
Compare
Apply API changes from ocaml/opam#6442
Apply API changes from ocaml/opam#6442
Queued on #6444Queued on #6394Queued on #6655Requires ocaml-opam/opam-rt#85
Requires ocaml-opam/opam-publish#173
See robur-coop/orb#22
See ocaml/odoc#1383
A little spring cleaning