mirror of
https://github.com/wader/fq.git
synced 2024-11-27 14:14:58 +03:00
funcs: chunk_by comment
This commit is contained in:
parent
af3e6b1220
commit
d5c084c54a
@ -75,7 +75,7 @@ def chunk_by(f):
|
||||
)
|
||||
end
|
||||
);
|
||||
# [1, 2, 2, 3] => [[1], [2, 2], [3]
|
||||
# [1, 2, 2, 3] => [[1], [2, 2], [3]]
|
||||
def chunk: chunk_by(.);
|
||||
|
||||
# same as group_by but counts
|
||||
|
Loading…
Reference in New Issue
Block a user