Skip to content

add a Pattern constructor to Extended_ast.t#2644

Merged
Julow merged 5 commits intoocaml-ppx:mainfrom
v-gb:push-rkmlumkyttqt
Feb 18, 2025
Merged

add a Pattern constructor to Extended_ast.t#2644
Julow merged 5 commits intoocaml-ppx:mainfrom
v-gb:push-rkmlumkyttqt

Conversation

@v-gb
Copy link
Contributor

@v-gb v-gb commented Jan 6, 2025

So it's easier to print patterns, which seems like the main major syntactic category missing from the sum type.

I think the only way to print pattern otherwise is to print a fun $pat -> whatever node and chop off the unwanted bits of the string.

v-gb added 4 commits January 6, 2025 17:54
So it's easier to print patterns, which seems like the main major syntactic category
missing from the type. Granted, no standard source file contains a pattern, but the
same argument applies to core_type.
@v-gb v-gb force-pushed the push-rkmlumkyttqt branch from 4bb8bf6 to a4ad9ec Compare January 6, 2025 17:21
@Julow Julow added the no changelog set this to bypass the CI check for changelog entries label Feb 18, 2025
Copy link
Collaborator

@Julow Julow left a comment

Choose a reason for hiding this comment

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

Looks good :)

@Julow Julow merged commit c154479 into ocaml-ppx:main Feb 18, 2025
5 of 8 checks passed
@v-gb
Copy link
Contributor Author

v-gb commented Feb 18, 2025

Thanks!

@v-gb v-gb deleted the push-rkmlumkyttqt branch February 18, 2025 16:00
davesnx pushed a commit to ocaml-mlx/ocamlformat-mlx that referenced this pull request May 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no changelog set this to bypass the CI check for changelog entries

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants