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

Support terms in patterns with Template Haskell #20

Open
fizruk opened this issue Aug 18, 2024 · 0 comments
Open

Support terms in patterns with Template Haskell #20

fizruk opened this issue Aug 18, 2024 · 0 comments

Comments

@fizruk
Copy link
Owner

fizruk commented Aug 18, 2024

Currently patterns can only have patterns, name binders, and non-term data (e.g. labels). Allowing terms in patterns opens up support for the following language features:

Technically, I think this is not forbidden by the foil and can be implemented manually, but must be properly handled within the Template Haskell generation functions.

@fizruk fizruk changed the title Allow terms in patterns Support terms in patterns with Template Haskell Aug 18, 2024
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

No branches or pull requests

1 participant