betaveros / noulith

*slaps roof of [programming language]* this bad boy can fit so much [syntax sugar] into it
1.13k stars 20 forks source link

add `group_all` #15

Closed crides closed 1 year ago

crides commented 1 year ago

The group from the builtin library groups only consecutive items, which makes sense for use with a grouping size, but grouping with a function over all elements seems to be more useful. This is done in e.g. jq with group_by. There probably is a better name for this though