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

enable to take expressions in constructor patterns #23

Open
coord-e opened this issue Mar 31, 2020 · 0 comments
Open

enable to take expressions in constructor patterns #23

coord-e opened this issue Mar 31, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@coord-e
Copy link
Collaborator

coord-e commented Mar 31, 2020

We want to parameterize pattern constructors with expressions. e.g.

{modBy 2} #0 & $x : _

This new syntax enables us to achieve some use cases of pattern-functions in compiled languages without compile-time evaluation.

@coord-e coord-e added the enhancement New feature or request label Mar 31, 2020
@coord-e coord-e changed the title Enable to take expressions in constructor patterns enable to take expressions in constructor patterns Mar 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant