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

Pattern matching on multiple expressions / at multiple levels #125

Open
PaulBone opened this issue Mar 10, 2019 · 2 comments
Open

Pattern matching on multiple expressions / at multiple levels #125

PaulBone opened this issue Mar 10, 2019 · 2 comments
Labels
component: compiler Concerning the compiler meta: aoc2021 Issues encoutered during Advent of Code 2021 meta: triaged Has the issue been triaged yet? status: accepted A bug we intend to fix it. type: enhancement

Comments

@PaulBone
Copy link
Member

No description provided.

@PaulBone PaulBone created this issue from a note in Plasma Programming Language (After bootstrapping) Mar 10, 2019
@PaulBone PaulBone added this to the Later milestone Mar 10, 2019
@PaulBone PaulBone added component: compiler Concerning the compiler meta: triaged Has the issue been triaged yet? status: accepted A bug we intend to fix it. type: enhancement labels Mar 10, 2019
@PaulBone
Copy link
Member Author

Also add pattern matching on ranges or lists:

case Saturday, Sunday -> {
   ...
}
case Monday..Friday -> {
   ...
}

@PaulBone PaulBone added the meta: aoc2021 Issues encoutered during Advent of Code 2021 label Dec 1, 2021
@PaulBone
Copy link
Member Author

PaulBone commented Dec 1, 2021

Here's an example for "multiple levels"

    [var depth1, var depth2 | var other_depths] -> {

@PaulBone PaulBone removed this from the Later milestone Jan 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: compiler Concerning the compiler meta: aoc2021 Issues encoutered during Advent of Code 2021 meta: triaged Has the issue been triaged yet? status: accepted A bug we intend to fix it. type: enhancement
Projects
No open projects
Plasma Programming Language
  
After bootstrapping
Development

No branches or pull requests

1 participant