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

add a Pattern constructor to Extended_ast.t #2644

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

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
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.

1 participant