Update ocamlformat, change style to match Jane Street style guide - #627
Update ocamlformat, change style to match Jane Street style guide#627rybern wants to merge 2 commits into
Conversation
The latest available version is 0.14.2 but that requires dune 2.2.0 and we're pinned to 1.11.4. |
|
Thanks for looking into that. It looks from that page like the version I was looking for was 0.13.0 (instead of 0.13), and that's compatible with dune 1.11.4, would you mind trying that when you get time? |
|
Any idea what went wrong? |
|
Oof. Thanks for checking. Guessing some dependency version bound is wrong in Opam. I'll have to set up a sandbox to figure it out. Gotta run for now. |
|
I had a miserable time trying to replicate this with a sandboxed Opam at ocaml 4.07.0, and it didn't replicate at 4.08.1. Would you trying with ocaml at 4.08.1 (I think |
|
Ocamlformat works at 4.08.1 but some other required packages don't. |
We've been pinned to ocamlformat 0.8, which is a couple years old now. I suggest we update to 0.13.
When I looked at the diff for the 0.13, I actually didn't like it much. When I switched the style to janestreet I liked it much much better. I think it makes sense for us to follow Jane Street anyway. Have a look at the diff and see what you think.
Also, could someone that uses Opam please check that ocamlformat 0.13 is available?