arrow-aql / arrow.aql / Sum

Sum

interface Sum<F>

Functions

foldable abstract fun foldable(): Foldable<F>
sum open infix fun <A, Z> Query<F, A, Z>.sum(f: A.() -> Long): Query<ForId, Long, Long>
value open fun Query<ForId, Long, Long>.value(): Long

Inheritors

EitherSum interface EitherSum<L> : Sum<EitherPartialOf<L>>
ListSum interface ListSum : Sum<ForListK>
NonEmptyListSum interface NonEmptyListSum : Sum<ForNonEmptyList>
OptionSum interface OptionSum : Sum<ForOption>
SequenceSum interface SequenceSum : Sum<ForSequenceK>
TrySum interface ~~TrySum~~ : Sum<ForTry>

Do you like Arrow?

Arrow Org
<