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

fix: add compatability for OCaml 4.08 and above. #11

Conversation

Alizter
Copy link
Contributor

@Alizter Alizter commented Aug 22, 2023

No description provided.

@Alizter Alizter force-pushed the ps/branch/fix__add_compatability_for_ocaml_4_08_and_above_ branch from 2907441 to 12b389b Compare August 22, 2023 22:08
| Format _, _ -> -1
| _, Format _ -> 1
(* Due to 4.08 lower bound, we need to define this here. *)
let rec compare_list a b ~cmp:f : int =
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This has the same signature as Stdlib.ListLabel.compare.

@rgrinberg rgrinberg merged commit 0021887 into ocaml-dune:master Aug 22, 2023
7 checks passed
@Alizter Alizter deleted the ps/branch/fix__add_compatability_for_ocaml_4_08_and_above_ branch August 22, 2023 23:18
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