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

Tuple selector sections #844

Open
RandomActsOfGrammar opened this issue May 17, 2024 · 1 comment
Open

Tuple selector sections #844

RandomActsOfGrammar opened this issue May 17, 2024 · 1 comment

Comments

@RandomActsOfGrammar
Copy link
Contributor

In Silver, one can write

map((.pp), l)

to get a list containing the value of the pp attribute for each tree in the list l.

One should analogously be able to write

map((.3), l)

for a list of tuples l to get a list of the third elements from all the tuples, but tuple selector sections like this are not currently implemented.

@krame505
Copy link
Member

I thought I already implemented this, but I guess that was annotation sections. Yeah, we should do this.

Would be a good Silver dev intro project, along with #577.

@github-project-automation github-project-automation bot moved this to To do - uncategorized in Hackathon Jan 3, 2025
@krame505 krame505 moved this from To do - uncategorized to To do - standalone in Hackathon Jan 3, 2025
@krame505 krame505 moved this from To do - standalone to To do - uncategorized in Hackathon Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: To do
Development

No branches or pull requests

3 participants