arrow-aql / arrow.aql / GroupBy

GroupBy

interface GroupBy<F>

Functions

foldable abstract fun foldable(): Foldable<F>
groupBy open infix fun <A, Z, X> Query<F, A, Z>.groupBy(group: Z.() -> X): Query<ForId, Map<X, List<Z>>, Map<X, List<Z>>>
value open fun <Z, X> Query<ForListK, Map<X, List<Z>>, Map<X, List<Z>>>.value(): Map<X, List<Z>>

Inheritors

EitherGroupBy interface EitherGroupBy<L> : GroupBy<EitherPartialOf<L>>
ListGroupBy interface ListGroupBy : GroupBy<ForListK>
NonEmptyListGroupBy interface NonEmptyListGroupBy : GroupBy<ForNonEmptyList>
OptionGroupBy interface OptionGroupBy : GroupBy<ForOption>
SequenceGroupBy interface SequenceGroupBy : GroupBy<ForSequenceK>
TryGroupBy interface ~~TryGroupBy~~ : GroupBy<ForTry>

Do you like Arrow?

Arrow Org
<