-
Notifications
You must be signed in to change notification settings - Fork 429
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
Improve functor printing. #2683
Improve functor printing. #2683
Conversation
Thanks, looks good. Can you add an entry to |
@anmonteiro I added a history entry. I hope 3.9 makes sense as a next version. |
OCaml 4.03 CI is having problems with installing nodejs and npm. |
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.
There are a bunch of conflicts regarding old tests, It should be safe to rebase and move those tests cases into the test/
folder
makeList | ||
~break:Layout.Always_rec | ||
~break:(if List.length s = 0 then Layout.IfNeed else Layout.Always_rec) |
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.
I have seen this logic in more than a few places, maybe we could try to do this check inside makeList and see the snapshots?
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.
Apologies for the late reply. I've added this to the changes of this PR.
* master: (38 commits) chore: remove old BS_NO_COMPILER_PATCH flag (reasonml#2710) Improve printing of modules types with one line inside (reasonml#2709) generate opam files with dune (reasonml#2704) Fix version on refmt (reasonml#2701) Drop the result dependency (reasonml#2703) Remove old CI and test.sh (reasonml#2705) Migrate tests to cram suite (reasonml#2694) Make sure win doesnt break when importing (reasonml#2700) Fix top level extensions (reasonml#2693) Install before importing deps Update package json and install esy normally Re-arrange esy install Reduce install esy time Use master branch instead of main Ignore _export from esy Rename refmt_test to test Add esy-ci and opam-ci Remove jbuild-ignore chore: update nix flake (reasonml#2692) chore(readme): clarify 3.9 is unreleased ...
d81a56d
to
79387e0
Compare
* master: fix: binary parser (reasonml#2713) Improve functor printing. (reasonml#2683) chore: remove old BS_NO_COMPILER_PATCH flag (reasonml#2710) Improve printing of modules types with one line inside (reasonml#2709) generate opam files with dune (reasonml#2704) Fix version on refmt (reasonml#2701) Drop the result dependency (reasonml#2703) Remove old CI and test.sh (reasonml#2705) Migrate tests to cram suite (reasonml#2694) Make sure win doesnt break when importing (reasonml#2700) Fix top level extensions (reasonml#2693) Install before importing deps Update package json and install esy normally Re-arrange esy install Reduce install esy time Use master branch instead of main Ignore _export from esy Rename refmt_test to test Add esy-ci and opam-ci Remove jbuild-ignore
CHANGES: - Reduce the amount of parentheses around functor usage (@SanderSpies, [reasonml/reason#2683](reasonml/reason#2683)) - Print module type body on separate line (@SanderSpies, [reasonml/reason#2709](reasonml/reason#2709)) - Fix missing patterns around contraint pattern (a pattern with a type annotation). - Fix top level extension printing - Remove the dependency on the `result` package, which isn't needed for OCaml 4.03 and above (@anmonteiro) [reasonml/reason#2703](reasonml/reason#2703) - Fix the binary parser by converting to the internal AST version used by Reason (@anmonteiro) [reasonml/reason#2713](reasonml/reason#2713) - Port Reason to `ppxlib` (@anmonteiro, [reasonml/reason#2711](reasonml/reason#2711)) - Support OCaml 5.1 (@anmonteiro, [reasonml/reason#2714](reasonml/reason#2714))
CHANGES: - Reduce the amount of parentheses around functor usage (@SanderSpies, [reasonml/reason#2683](reasonml/reason#2683)) - Print module type body on separate line (@SanderSpies, [reasonml/reason#2709](reasonml/reason#2709)) - Fix missing patterns around contraint pattern (a pattern with a type annotation). - Fix top level extension printing - Remove the dependency on the `result` package, which isn't needed for OCaml 4.03 and above (@anmonteiro) [reasonml/reason#2703](reasonml/reason#2703) - Fix the binary parser by converting to the internal AST version used by Reason (@anmonteiro) [reasonml/reason#2713](reasonml/reason#2713) - Port Reason to `ppxlib` (@anmonteiro, [reasonml/reason#2711](reasonml/reason#2711)) - Support OCaml 5.1 (@anmonteiro, [reasonml/reason#2714](reasonml/reason#2714))
Reduces the amount of parentheses around functor usage.
Related to: #2682.