Uploaded image for project: 'Clojure'
  1. CLJ-1806

group-by as reducer / reduction fn

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects versions: Release 1.8
    • Fix versions: None
    • Patch:
      Code and Test

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              toxi Karsten Schmidt
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: