I'd like to propose changing the language a bit to make it a bit more regular/consistent.
Order clause
Currently it is is:
I'd like to change it to:
Reason: In return values it's:
return {baz: .baz default=0, hammer: .hammer default=1}
So it's (kind of like a tuple). Use this pattern for the order as well.
Grouping
Currently group() is:
group(.baz order=asc) default="a"
I'd like to change it to:
group(.baz default="a" asc)
Reason: It now has the same shape as the order clause.
What do others think about making this change?
I'd like to propose changing the language a bit to make it a bit more regular/consistent.
Order clause
Currently it is is:
I'd like to change it to:
Reason: In return values it's:
So it's (kind of like a tuple). Use this pattern for the order as well.
Grouping
Currently
group()is:I'd like to change it to:
Reason: It now has the same shape as the order clause.
What do others think about making this change?