1
1
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:
Mattias Wadman 2021-08-19 18:08:33 +02:00
parent af3e6b1220
commit d5c084c54a

View File

@ -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