8000 Lower OCaml version to 4.02.3 by Leonidas-from-XIV · Pull Request #3 · ocaml/camlp-streams · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Lower OCaml version to 4.02.3 #3

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

Merged
merged 1 commit into from
Feb 9, 2022

Conversation

Leonidas-from-XIV
Copy link
Contributor

Since Stream is going to be deprecated in OCaml 4.14 in Yojson to deal with this we wanted to switch to camlp-streams for now, until we get time to adjust the API. This would allow us to stay compatible for a while longer.

But we support 4.02.3 as minimum version, so to avoid a complicated build headache of switching between the Stdlib-Stream and this Stream library it would be better if this library supported 4.02.3.

Given the code hasn't been touched in (probably) a long time it was my hunch that it should also build on older OCaml versions and, testing it on a 4.02.3 switch, that seems to have been correct.

Hence here's a PR to lower the minimum required OCaml version.

@gasche
Copy link
Member
gasche commented Feb 9, 2022

This sounds sensible, and you tested that it works on 4.02.3, so: merging. (This is optimistically assuming that the code did not break on versions later than 4.02.3 but before 4.05.0)

@gasche gasche merged commit 3e845ac into ocaml:trunk Feb 9, 2022
@gasche
Copy link
Member
gasche commented Feb 9, 2022

Note: I guess this would benefit from a release, and I would be happy to let someone else do the release. Any volunteers?

(Or maybe the opam metadata can be adjusted without re-releasing?)

@Leonidas-from-XIV
Copy link
Contributor Author

@gasche According to the CI it seems to build on everything between 4.02 and 4.13 so unless it compiles correctly but is subtly wrong it should probably be fine. I could imagine it builds on even older versions as well but if that is required I suggest it as an exercise to the reader.

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
0