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 #384: Haskell/OCaml printer: nil case also for nonempty lists #385

Merged
merged 3 commits into from
Sep 22, 2021

Conversation

andreasabel
Copy link
Member

@andreasabel andreasabel commented Sep 22, 2021

Fix #384: Haskell/OCaml printer: nil case also for nonempty lists

Not 100% sure whether I want to merge this, as it only fixes the nonempty list case, not the precedence category list case (e.g. [Exp2]).

@andreasabel andreasabel self-assigned this Sep 22, 2021
@andreasabel andreasabel added Haskell lists Concerning list categories and separator/terminator/delimiter pragmas OCaml printer Concerning the generated printer labels Sep 22, 2021
…ists

We make the lowest precedence the catch-all.
@andreasabel andreasabel marked this pull request as ready for review September 22, 2021 16:40
@andreasabel
Copy link
Member Author

Update: also fixing the precedence list issue. So, fine to merge.

@andreasabel andreasabel merged commit 92bb6d5 into master Sep 22, 2021
@andreasabel andreasabel deleted the issue384 branch September 22, 2021 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Haskell lists Concerning list categories and separator/terminator/delimiter pragmas OCaml printer Concerning the generated printer
Projects
None yet
1 participant