group-by as reducer / reduction fn

Description

Whilst working on a query engine heavily based on transducers, I noticed that it'd be great to have group-by able to be used as reduction fn. The attached patch adds a single arity version to group-by which enables this use case and also includes a few tests.

Environment

None

Activity

Show:
Karsten Schmidt
August 30, 2015, 2:08 AM

patch w/ described changes

Assignee

Unassigned

Reporter

Karsten Schmidt

Approval

None

Patch

Code and Test

Affects versions

Priority

Minor