--- Begin Message ---
This is cool. Rails has this kind of capability and I miss it elsewhere.
> On Dec 9, 2019, at 6:08 AM, Julien Delplanque
> wrote:
>
> Hello,
>
> I made a small library that reify grouping (that one does via #groupBy:
> usually): Grouper https://github.com/juliendelplanq
Hello,
I made a small library that reify grouping (that one does via #groupBy:
usually): Grouper https://github.com/juliendelplanque/Grouper
It is designed in the same spirit as SortFunction, but for grouping.
Quick example:
The following code snippet using Grouper:
(10 to: 50)groupUsing: