elegant
library
Classes
-
AggregateStreamController<T>
-
Aggregates the output of multiple streams of the same type,
and combines them into a single stream.
-
Err<T, E>
-
A failed Result containing error.
-
Ok<T, E>
-
A successful Result containing value.
-
Result<T, E>
-
The result of a computation that either succeeded with a
T or failed
with an E.
Functions
-
circularList<T>(List<T> items, {int step = 1})
→ Iterable<T>
-
-
groupBy<T>(Iterable<T> items, bool condition(T prev, T next))
→ Iterable<List<T>>
-
-
groups<T, X>(Iterable<T> items, int groupSize, X combine(List<T> e), {int step = 1})
→ Iterable<X>
-
-
mapBy<I, T>(Iterable<T> items, I key(T e))
→ Map<I, List<T>>
-
-
pairs<T, X>(Iterable<T> items, X combine(T a, T b), {int step = 1})
→ Iterable<X>
-