Hacker News new | ask | show | jobs
by chrispsn 1169 days ago
Good point - added a simple explanation in the article:

Group tells you the places each element occurs in a list. It generates lists of indices.

1 comments

Nice! Sounds useful for scatter and gather algorithms

https://en.wikipedia.org/wiki/Gather/scatter_(vector_address...