Open RandomActsOfGrammar opened 3 months ago
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.
pp
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.
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.
In Silver, one can write
to get a list containing the value of the
pp
attribute for each tree in the listl
.One should analogously be able to write
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.