ribs_core library

Classes

AbstractIMap<K, V>
AbstractMMap<K, V>
Array<A>
A fixed-size, nullable array used as a low-level building block.
ArrayBuilder<A>
Incrementally builds an Array by appending elements one at a time.
ArrayDeque<A>
A mutable double-ended queue backed by a circular Array.
Cons<A>
The non-empty case of IList, containing a head element and a tail.
Either<A, B>
Represents one of two possible values (a disjoint union).
Eval<A>
A data type for controlling evaluation semantics: eager, lazy-memoized, or always-recomputed.
Fn0<A>
A nominal wrapper around a zero-argument function () -> A.
Fn1<A, B>
A nominal wrapper around a one-argument function A -> B.
Fn2<A, B, C>
A nominal wrapper around a two-argument function (A, B) -> C.
IChain<A>
An immutable sequence that provides O(1) append, prepend, and concat.
IHashMap<K, V>
An immutable hash-array mapped trie (CHAMP) implementation of IMap.
IHashMapBuilder<K, V>
A mutable builder that constructs an IHashMap incrementally.
ILazyList<A>
An immutable, lazily-evaluated (potentially infinite) sequence.
ILazyListBuilder<A>
A mutable builder for constructing ILazyList instances.
IList<A>
An immutable singly-linked list.
IMapBuilder<K, V>
A mutable builder for IMap.
IMultiDict<K, V>
An immutable multimap: each key is associated with a set of values.
IMultiSet<A>
An immutable multiset (bag): a set where elements may appear multiple times.
Integer
Platform-aware integer utilities providing bit-manipulation operations.
Invalid<E, A>
A Validated that represents a failure, or invalid value.
IQueue<A>
An immutable FIFO queue backed by two ILists.
ISetBuilder<A>
A mutable builder for constructing ISet instances efficiently.
IVector<A>
An immutable, indexed sequence backed by a Radix-Balanced Finger Tree.
IVectorBuilder<A>
A mutable builder for constructing IVector instances efficiently.
Left<A, B>
One of two possible instances of Either, generally used to indicate and error, or failure of some kind.
ListBuffer<A>
A mutable buffer backed by a singly-linked IList.
MHashMap<K, V>
A mutable hash map backed by a linked-chain hash table.
MMultiDict<K, V>
A mutable multimap: each key is associated with a mutable set of values.
MMultiSet<A>
A mutable multiset (bag): a set where elements may appear multiple times.
MQueue<A>
A mutable FIFO queue backed by ArrayDeque.
MStack<A>
A mutable LIFO stack backed by ArrayDeque.
MurmurHash3
MurmurHash3 hashing utilities, ported from the Scala standard library.
Nil<A>
The empty case of IList. Use nil or IList.empty to obtain an instance.
None
An Option that signifies the absence of a value.
NonEmptyIList<A>
An immutable IList that contains at least one element.
Option<A>
Represents optional values.
Order<A>
Defines a total ordering for elements of type A.
Ordered<A>
Mixin that provides comparison operators for types that implement a total ordering via compareTo.
Range
An immutable, O(1)-memory integer range.
One of two possible instances of Either, generally used to indicate a successful value.
RIterator<A>
A single-use, forward-only iterator over elements of type A.
Some<A>
An Option that signifies the presence of a value.
State<S, A>
Data type that models state transitions of type T, yielding a value of type A.
UniqueToken
An unforgeable identity token.
Unit
Unit is analogous to Dart's void type. There exists only one value of type Unit.
Valid<E, A>
A Validated that represents a successful, or valid value.
Validated<E, A>
Represents one of 2 possible values: Valid or Invalid.

Mixins

Applicative<A>
Provides the application of a function in an Applicative context to a value in an Applicative context.
Buffer<A>
A mutable sequence that supports efficient in-place modification.
Functor<A>
Provides the application of a function to a value in a Functor context.
IMap<K, V>
An immutable key-value map.
IndexedSeq<A>
An RSeq with efficient O(1) random access via operator [] and length.
ISet<A>
An immutable, unordered set with no duplicate elements.
MMap<K, V>
A mutable key-value map.
Monad<A>
Provides the ability to compose dependent effectful functions.
MSet<A>
A mutable set.
RIterable<A>
A traversable-again collection of elements of type A.
RIterableOnce<A>
The root of the ribs collection hierarchy — a single-pass traversable.
RMap<K, V>
An immutable key-value map from keys of type K to values of type V.
RMultiDict<K, V>
A map that may associate multiple values with a single key.
RMultiSet<A>
A collection that may contain duplicate elements, tracking the count of each distinct value.
RSeq<A>
An ordered, indexed sequence of elements of type A.
RSet<A>
An unordered collection of unique elements of type A.

Extensions

DurationOps on int
Convenience constructors for creating Duration values from integer literals, e.g. 5.seconds, 200.milliseconds.
EitherNestedOps on Either<A, Either<A, B>>
EitherSyntaxOps on A
Operations for any value to lift it into an Either.
EitherTuple2Ops on Either<E, (T1, T2)>
Provides additional functions on an Either where the right value is a 2 element tuple.
EitherTuple3Ops on Either<E, (T1, T2, T3)>
Provides additional functions on an Either where the right value is a 3 element tuple.
EitherTuple4Ops on Either<E, (T1, T2, T3, T4)>
Provides additional functions on an Either where the right value is a 4 element tuple.
EitherTuple5Ops on Either<E, (T1, T2, T3, T4, T5)>
Provides additional functions on an Either where the right value is a 5 element tuple.
EvalNestedOps on Eval<Eval<A>>
Additional operations on nested Evals.
Function0Ops on Function0<T0>
Provides additional functions on functions with 0 parameters.
Function10COps on Function10C<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>
Provides additional functions on curried functions with 10 parameters.
Function10Ops on Function10<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>
Provides additional functions on functions with 10 parameters.
Function11COps on Function11C<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>
Provides additional functions on curried functions with 11 parameters.
Function11Ops on Function11<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>
Provides additional functions on functions with 11 parameters.
Function12COps on Function12C<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>
Provides additional functions on curried functions with 12 parameters.
Function12Ops on Function12<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>
Provides additional functions on functions with 12 parameters.
Function13COps on Function13C<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>
Provides additional functions on curried functions with 13 parameters.
Function13Ops on Function13<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>
Provides additional functions on functions with 13 parameters.
Function14COps on Function14C<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>
Provides additional functions on curried functions with 14 parameters.
Function14Ops on Function14<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>
Provides additional functions on functions with 14 parameters.
Function15COps on Function15C<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>
Provides additional functions on curried functions with 15 parameters.
Function15Ops on Function15<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>
Provides additional functions on functions with 15 parameters.
Function16COps on Function16C<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>
Provides additional functions on curried functions with 16 parameters.
Function16Ops on Function16<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>
Provides additional functions on functions with 16 parameters.
Function17COps on Function17C<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17>
Provides additional functions on curried functions with 17 parameters.
Function17Ops on Function17<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17>
Provides additional functions on functions with 17 parameters.
Function18COps on Function18C<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18>
Provides additional functions on curried functions with 18 parameters.
Function18Ops on Function18<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18>
Provides additional functions on functions with 18 parameters.
Function19COps on Function19C<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19>
Provides additional functions on curried functions with 19 parameters.
Function19Ops on Function19<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19>
Provides additional functions on functions with 19 parameters.
Function1Ops on Function1<T0, T1>
Provides additional functions on functions with 1 parameters.
Function20COps on Function20C<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20>
Provides additional functions on curried functions with 20 parameters.
Function20Ops on Function20<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20>
Provides additional functions on functions with 20 parameters.
Function21COps on Function21C<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21>
Provides additional functions on curried functions with 21 parameters.
Function21Ops on Function21<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21>
Provides additional functions on functions with 21 parameters.
Function22COps on Function22C<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22>
Provides additional functions on curried functions with 22 parameters.
Function22Ops on Function22<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22>
Provides additional functions on functions with 22 parameters.
Function2COps on Function2C<T0, T1, T2>
Provides additional functions on curried functions with 2 parameters.
Function2Ops on Function2<T0, T1, T2>
Provides additional functions on functions with 2 parameters.
Function3COps on Function3C<T0, T1, T2, T3>
Provides additional functions on curried functions with 3 parameters.
Function3Ops on Function3<T0, T1, T2, T3>
Provides additional functions on functions with 3 parameters.
Function4COps on Function4C<T0, T1, T2, T3, T4>
Provides additional functions on curried functions with 4 parameters.
Function4Ops on Function4<T0, T1, T2, T3, T4>
Provides additional functions on functions with 4 parameters.
Function5COps on Function5C<T0, T1, T2, T3, T4, T5>
Provides additional functions on curried functions with 5 parameters.
Function5Ops on Function5<T0, T1, T2, T3, T4, T5>
Provides additional functions on functions with 5 parameters.
Function6COps on Function6C<T0, T1, T2, T3, T4, T5, T6>
Provides additional functions on curried functions with 6 parameters.
Function6Ops on Function6<T0, T1, T2, T3, T4, T5, T6>
Provides additional functions on functions with 6 parameters.
Function7COps on Function7C<T0, T1, T2, T3, T4, T5, T6, T7>
Provides additional functions on curried functions with 7 parameters.
Function7Ops on Function7<T0, T1, T2, T3, T4, T5, T6, T7>
Provides additional functions on functions with 7 parameters.
Function8COps on Function8C<T0, T1, T2, T3, T4, T5, T6, T7, T8>
Provides additional functions on curried functions with 8 parameters.
Function8Ops on Function8<T0, T1, T2, T3, T4, T5, T6, T7, T8>
Provides additional functions on functions with 8 parameters.
Function9COps on Function9C<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>
Provides additional functions on curried functions with 9 parameters.
Function9Ops on Function9<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>
Provides additional functions on functions with 9 parameters.
ILazyListNestedOps on ILazyList<ILazyList<A>>
IListEitherOps on IList<Either<A, B>>
Operations available when IList elements are of type Either.
IListNestedOps on IList<IList<A>>
IListNullableOps on IList<A?>
Operations avaiable when IList elements are nullable.
IListOptionOps on IList<Option<A>>
Operations avaiable when IList elements are of type Option.
IListTuple2Ops on IList<(T1, T2)>
Provides additional functions on an IList of a 2 element tuple.
IListTuple2UnzipOps on IList<(A, B)>
IListTuple3Ops on IList<(T1, T2, T3)>
Provides additional functions on an IList of a 3 element tuple.
IListTuple3UnzipOps on IList<(A, B, C)>
IListTuple4Ops on IList<(T1, T2, T3, T4)>
Provides additional functions on an IList of a 4 element tuple.
IListTuple5Ops on IList<(T1, T2, T3, T4, T5)>
Provides additional functions on an IList of a 5 element tuple.
IndexedSeqTuple2Ops on IndexedSeq<(A, B)>
ISetNestedOps on ISet<ISet<A>>
IterableOps on Iterable<A>
NonEmptyIListEitherOps on NonEmptyIList<Either<A, B>>
Operations available when NonEmptyIList elements are Either values.
NonEmptyIListNestedOps on NonEmptyIList<NonEmptyIList<A>>
Operations available when NonEmptyIList elements are themselves NonEmptyILists.
NonEmptyIListOptionOps on NonEmptyIList<Option<A>>
Operations available when NonEmptyIList elements are Option values.
OptionNestedOps on Option<Option<A>>
Additional functions that can be called on a nested Option.
OptionOps on Option<A>
OptionSyntaxOps on A
Operations for any value to lift it into an Option.
OptionTuple2Ops on Option<(T1, T2)>
Provides additional functions on an Option of a 2 element tuple.
OptionTuple3Ops on Option<(T1, T2, T3)>
Provides additional functions on an Option of a 3 element tuple.
OptionTuple4Ops on Option<(T1, T2, T3, T4)>
Provides additional functions on an Option of a 4 element tuple.
OptionTuple5Ops on Option<(T1, T2, T3, T4, T5)>
Provides additional functions on an Option of a 5 element tuple.
RibsIterableTuple2Ops on RIterable<(A, B)>
RIterableDoubleOps on RIterableOnce<double>
RIterableIntOps on RIterableOnce<int>
RIterableNested2Ops on RIterable<RIterable<A>>
Operations available when RIterable elements are themselves RIterable.
RIterableTuple2Ops on RIterable<(A, B)>
StringOps on String
Scala-style string operations, treating a String as a sequence of single-character strings.
Tuple10EitherOps on (Either<E, T1>, Either<E, T2>, Either<E, T3>, Either<E, T4>, Either<E, T5>, Either<E, T6>, Either<E, T7>, Either<E, T8>, Either<E, T9>, Either<E, T10>)
Provides additional functions on tuple with 10 Eithers.
Tuple10Ops on (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)
Tuple10OptionOps on (Option<T1>, Option<T2>, Option<T3>, Option<T4>, Option<T5>, Option<T6>, Option<T7>, Option<T8>, Option<T9>, Option<T10>)
Provides additional functions on a tuple of 10 Options.
Tuple11EitherOps on (Either<E, T1>, Either<E, T2>, Either<E, T3>, Either<E, T4>, Either<E, T5>, Either<E, T6>, Either<E, T7>, Either<E, T8>, Either<E, T9>, Either<E, T10>, Either<E, T11>)
Provides additional functions on tuple with 11 Eithers.
Tuple11Ops on (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)
Tuple11OptionOps on (Option<T1>, Option<T2>, Option<T3>, Option<T4>, Option<T5>, Option<T6>, Option<T7>, Option<T8>, Option<T9>, Option<T10>, Option<T11>)
Provides additional functions on a tuple of 11 Options.
Tuple12EitherOps on (Either<E, T1>, Either<E, T2>, Either<E, T3>, Either<E, T4>, Either<E, T5>, Either<E, T6>, Either<E, T7>, Either<E, T8>, Either<E, T9>, Either<E, T10>, Either<E, T11>, Either<E, T12>)
Provides additional functions on tuple with 12 Eithers.
Tuple12Ops on (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)
Tuple12OptionOps on (Option<T1>, Option<T2>, Option<T3>, Option<T4>, Option<T5>, Option<T6>, Option<T7>, Option<T8>, Option<T9>, Option<T10>, Option<T11>, Option<T12>)
Provides additional functions on a tuple of 12 Options.
Tuple13EitherOps on (Either<E, T1>, Either<E, T2>, Either<E, T3>, Either<E, T4>, Either<E, T5>, Either<E, T6>, Either<E, T7>, Either<E, T8>, Either<E, T9>, Either<E, T10>, Either<E, T11>, Either<E, T12>, Either<E, T13>)
Provides additional functions on tuple with 13 Eithers.
Tuple13Ops on (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)
Tuple13OptionOps on (Option<T1>, Option<T2>, Option<T3>, Option<T4>, Option<T5>, Option<T6>, Option<T7>, Option<T8>, Option<T9>, Option<T10>, Option<T11>, Option<T12>, Option<T13>)
Provides additional functions on a tuple of 13 Options.
Tuple14EitherOps on (Either<E, T1>, Either<E, T2>, Either<E, T3>, Either<E, T4>, Either<E, T5>, Either<E, T6>, Either<E, T7>, Either<E, T8>, Either<E, T9>, Either<E, T10>, Either<E, T11>, Either<E, T12>, Either<E, T13>, Either<E, T14>)
Provides additional functions on tuple with 14 Eithers.
Tuple14Ops on (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14)
Tuple14OptionOps on (Option<T1>, Option<T2>, Option<T3>, Option<T4>, Option<T5>, Option<T6>, Option<T7>, Option<T8>, Option<T9>, Option<T10>, Option<T11>, Option<T12>, Option<T13>, Option<T14>)
Provides additional functions on a tuple of 14 Options.
Tuple15EitherOps on (Either<E, T1>, Either<E, T2>, Either<E, T3>, Either<E, T4>, Either<E, T5>, Either<E, T6>, Either<E, T7>, Either<E, T8>, Either<E, T9>, Either<E, T10>, Either<E, T11>, Either<E, T12>, Either<E, T13>, Either<E, T14>, Either<E, T15>)
Provides additional functions on tuple with 15 Eithers.
Tuple15Ops on (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)
Tuple15OptionOps on (Option<T1>, Option<T2>, Option<T3>, Option<T4>, Option<T5>, Option<T6>, Option<T7>, Option<T8>, Option<T9>, Option<T10>, Option<T11>, Option<T12>, Option<T13>, Option<T14>, Option<T15>)
Provides additional functions on a tuple of 15 Options.
Tuple16EitherOps on (Either<E, T1>, Either<E, T2>, Either<E, T3>, Either<E, T4>, Either<E, T5>, Either<E, T6>, Either<E, T7>, Either<E, T8>, Either<E, T9>, Either<E, T10>, Either<E, T11>, Either<E, T12>, Either<E, T13>, Either<E, T14>, Either<E, T15>, Either<E, T16>)
Provides additional functions on tuple with 16 Eithers.
Tuple16Ops on (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16)
Tuple16OptionOps on (Option<T1>, Option<T2>, Option<T3>, Option<T4>, Option<T5>, Option<T6>, Option<T7>, Option<T8>, Option<T9>, Option<T10>, Option<T11>, Option<T12>, Option<T13>, Option<T14>, Option<T15>, Option<T16>)
Provides additional functions on a tuple of 16 Options.
Tuple17EitherOps on (Either<E, T1>, Either<E, T2>, Either<E, T3>, Either<E, T4>, Either<E, T5>, Either<E, T6>, Either<E, T7>, Either<E, T8>, Either<E, T9>, Either<E, T10>, Either<E, T11>, Either<E, T12>, Either<E, T13>, Either<E, T14>, Either<E, T15>, Either<E, T16>, Either<E, T17>)
Provides additional functions on tuple with 17 Eithers.
Tuple17Ops on (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17)
Tuple17OptionOps on (Option<T1>, Option<T2>, Option<T3>, Option<T4>, Option<T5>, Option<T6>, Option<T7>, Option<T8>, Option<T9>, Option<T10>, Option<T11>, Option<T12>, Option<T13>, Option<T14>, Option<T15>, Option<T16>, Option<T17>)
Provides additional functions on a tuple of 17 Options.
Tuple18EitherOps on (Either<E, T1>, Either<E, T2>, Either<E, T3>, Either<E, T4>, Either<E, T5>, Either<E, T6>, Either<E, T7>, Either<E, T8>, Either<E, T9>, Either<E, T10>, Either<E, T11>, Either<E, T12>, Either<E, T13>, Either<E, T14>, Either<E, T15>, Either<E, T16>, Either<E, T17>, Either<E, T18>)
Provides additional functions on tuple with 18 Eithers.
Tuple18Ops on (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18)
Tuple18OptionOps on (Option<T1>, Option<T2>, Option<T3>, Option<T4>, Option<T5>, Option<T6>, Option<T7>, Option<T8>, Option<T9>, Option<T10>, Option<T11>, Option<T12>, Option<T13>, Option<T14>, Option<T15>, Option<T16>, Option<T17>, Option<T18>)
Provides additional functions on a tuple of 18 Options.
Tuple19EitherOps on (Either<E, T1>, Either<E, T2>, Either<E, T3>, Either<E, T4>, Either<E, T5>, Either<E, T6>, Either<E, T7>, Either<E, T8>, Either<E, T9>, Either<E, T10>, Either<E, T11>, Either<E, T12>, Either<E, T13>, Either<E, T14>, Either<E, T15>, Either<E, T16>, Either<E, T17>, Either<E, T18>, Either<E, T19>)
Provides additional functions on tuple with 19 Eithers.
Tuple19Ops on (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19)
Tuple19OptionOps on (Option<T1>, Option<T2>, Option<T3>, Option<T4>, Option<T5>, Option<T6>, Option<T7>, Option<T8>, Option<T9>, Option<T10>, Option<T11>, Option<T12>, Option<T13>, Option<T14>, Option<T15>, Option<T16>, Option<T17>, Option<T18>, Option<T19>)
Provides additional functions on a tuple of 19 Options.
Tuple20EitherOps on (Either<E, T1>, Either<E, T2>, Either<E, T3>, Either<E, T4>, Either<E, T5>, Either<E, T6>, Either<E, T7>, Either<E, T8>, Either<E, T9>, Either<E, T10>, Either<E, T11>, Either<E, T12>, Either<E, T13>, Either<E, T14>, Either<E, T15>, Either<E, T16>, Either<E, T17>, Either<E, T18>, Either<E, T19>, Either<E, T20>)
Provides additional functions on tuple with 20 Eithers.
Tuple20Ops on (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20)
Tuple20OptionOps on (Option<T1>, Option<T2>, Option<T3>, Option<T4>, Option<T5>, Option<T6>, Option<T7>, Option<T8>, Option<T9>, Option<T10>, Option<T11>, Option<T12>, Option<T13>, Option<T14>, Option<T15>, Option<T16>, Option<T17>, Option<T18>, Option<T19>, Option<T20>)
Provides additional functions on a tuple of 20 Options.
Tuple21EitherOps on (Either<E, T1>, Either<E, T2>, Either<E, T3>, Either<E, T4>, Either<E, T5>, Either<E, T6>, Either<E, T7>, Either<E, T8>, Either<E, T9>, Either<E, T10>, Either<E, T11>, Either<E, T12>, Either<E, T13>, Either<E, T14>, Either<E, T15>, Either<E, T16>, Either<E, T17>, Either<E, T18>, Either<E, T19>, Either<E, T20>, Either<E, T21>)
Provides additional functions on tuple with 21 Eithers.
Tuple21Ops on (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21)
Tuple21OptionOps on (Option<T1>, Option<T2>, Option<T3>, Option<T4>, Option<T5>, Option<T6>, Option<T7>, Option<T8>, Option<T9>, Option<T10>, Option<T11>, Option<T12>, Option<T13>, Option<T14>, Option<T15>, Option<T16>, Option<T17>, Option<T18>, Option<T19>, Option<T20>, Option<T21>)
Provides additional functions on a tuple of 21 Options.
Tuple22EitherOps on (Either<E, T1>, Either<E, T2>, Either<E, T3>, Either<E, T4>, Either<E, T5>, Either<E, T6>, Either<E, T7>, Either<E, T8>, Either<E, T9>, Either<E, T10>, Either<E, T11>, Either<E, T12>, Either<E, T13>, Either<E, T14>, Either<E, T15>, Either<E, T16>, Either<E, T17>, Either<E, T18>, Either<E, T19>, Either<E, T20>, Either<E, T21>, Either<E, T22>)
Provides additional functions on tuple with 22 Eithers.
Tuple22Ops on (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22)
Tuple22OptionOps on (Option<T1>, Option<T2>, Option<T3>, Option<T4>, Option<T5>, Option<T6>, Option<T7>, Option<T8>, Option<T9>, Option<T10>, Option<T11>, Option<T12>, Option<T13>, Option<T14>, Option<T15>, Option<T16>, Option<T17>, Option<T18>, Option<T19>, Option<T20>, Option<T21>, Option<T22>)
Provides additional functions on a tuple of 22 Options.
Tuple2EitherOps on (Either<E, T1>, Either<E, T2>)
Provides additional functions on tuple with 2 Eithers.
Tuple2Ops on (T1, T2)
Tuple2OptionOps on (Option<T1>, Option<T2>)
Provides additional functions on a tuple of 2 Options.
Tuple2ValidatedNelOps on (ValidatedNel<E, T1>, ValidatedNel<E, T2>)
Provides additional functions on tuple with 2 ValidatedNels.
Tuple3EitherOps on (Either<E, T1>, Either<E, T2>, Either<E, T3>)
Provides additional functions on tuple with 3 Eithers.
Tuple3Ops on (T1, T2, T3)
Tuple3OptionOps on (Option<T1>, Option<T2>, Option<T3>)
Provides additional functions on a tuple of 3 Options.
Tuple3ValidatedNelOps on (ValidatedNel<E, T1>, ValidatedNel<E, T2>, ValidatedNel<E, T3>)
Provides additional functions on tuple with 3 ValidatedNels.
Tuple4EitherOps on (Either<E, T1>, Either<E, T2>, Either<E, T3>, Either<E, T4>)
Provides additional functions on tuple with 4 Eithers.
Tuple4Ops on (T1, T2, T3, T4)
Tuple4OptionOps on (Option<T1>, Option<T2>, Option<T3>, Option<T4>)
Provides additional functions on a tuple of 4 Options.
Tuple4ValidatedNelOps on (ValidatedNel<E, T1>, ValidatedNel<E, T2>, ValidatedNel<E, T3>, ValidatedNel<E, T4>)
Provides additional functions on tuple with 4 ValidatedNels.
Tuple5EitherOps on (Either<E, T1>, Either<E, T2>, Either<E, T3>, Either<E, T4>, Either<E, T5>)
Provides additional functions on tuple with 5 Eithers.
Tuple5Ops on (T1, T2, T3, T4, T5)
Tuple5OptionOps on (Option<T1>, Option<T2>, Option<T3>, Option<T4>, Option<T5>)
Provides additional functions on a tuple of 5 Options.
Tuple5ValidatedNelOps on (ValidatedNel<E, T1>, ValidatedNel<E, T2>, ValidatedNel<E, T3>, ValidatedNel<E, T4>, ValidatedNel<E, T5>)
Provides additional functions on tuple with 5 ValidatedNels.
Tuple6EitherOps on (Either<E, T1>, Either<E, T2>, Either<E, T3>, Either<E, T4>, Either<E, T5>, Either<E, T6>)
Provides additional functions on tuple with 6 Eithers.
Tuple6Ops on (T1, T2, T3, T4, T5, T6)
Tuple6OptionOps on (Option<T1>, Option<T2>, Option<T3>, Option<T4>, Option<T5>, Option<T6>)
Provides additional functions on a tuple of 6 Options.
Tuple7EitherOps on (Either<E, T1>, Either<E, T2>, Either<E, T3>, Either<E, T4>, Either<E, T5>, Either<E, T6>, Either<E, T7>)
Provides additional functions on tuple with 7 Eithers.
Tuple7Ops on (T1, T2, T3, T4, T5, T6, T7)
Tuple7OptionOps on (Option<T1>, Option<T2>, Option<T3>, Option<T4>, Option<T5>, Option<T6>, Option<T7>)
Provides additional functions on a tuple of 7 Options.
Tuple8EitherOps on (Either<E, T1>, Either<E, T2>, Either<E, T3>, Either<E, T4>, Either<E, T5>, Either<E, T6>, Either<E, T7>, Either<E, T8>)
Provides additional functions on tuple with 8 Eithers.
Tuple8Ops on (T1, T2, T3, T4, T5, T6, T7, T8)
Tuple8OptionOps on (Option<T1>, Option<T2>, Option<T3>, Option<T4>, Option<T5>, Option<T6>, Option<T7>, Option<T8>)
Provides additional functions on a tuple of 8 Options.
Tuple9EitherOps on (Either<E, T1>, Either<E, T2>, Either<E, T3>, Either<E, T4>, Either<E, T5>, Either<E, T6>, Either<E, T7>, Either<E, T8>, Either<E, T9>)
Provides additional functions on tuple with 9 Eithers.
Tuple9Ops on (T1, T2, T3, T4, T5, T6, T7, T8, T9)
Tuple9OptionOps on (Option<T1>, Option<T2>, Option<T3>, Option<T4>, Option<T5>, Option<T6>, Option<T7>, Option<T8>, Option<T9>)
Provides additional functions on a tuple of 9 Options.
ValidatedNelOps on ValidatedNel<E, A>
Functions that are unique to a Validated that has a NonEmptyIList<E> for the invalid type.
ValidatedNestedOps on Validated<E, Validated<E, A>>
Operations available when a Validated contains another Validated as its valid value.
ValidatedSyntaxOps on A

Functions

arr<A>(List<A?> l) Array<A>
Creates an Array from a Dart List.
ichain<A>(Iterable<A> as) IChain<A>
Creates an IChain from a Dart Iterable.
identity<T>(T t) → T
Returns its argument unchanged.
ilist<A>(Iterable<A> as) IList<A>
Creates an IList from a Dart Iterable.
imap<K, V>(Map<K, V> m) IMap<K, V>
Creates an IMap from a Dart Map.
imultidict<K, V>(Iterable<(K, V)> as) IMultiDict<K, V>
Creates an IMultiDict from a Dart Iterable of key-value pairs.
imultiset<A>(Iterable<A> as) IMultiSet<A>
Creates an IMultiSet from a Dart Iterable.
iqueue<A>(Iterable<A> as) IQueue<A>
Creates an IQueue from a Dart Iterable.
iset<A>(Iterable<A> as) ISet<A>
Creates an ISet from a Dart Iterable.
ivec<A>(Iterable<A> as) IVector<A>
Creates an IVector from a Dart Iterable.
mmap<K, V>(Map<K, V> m) MMap<K, V>
Creates an MMap from a Dart Map.
mmultidict<K, V>(Iterable<(K, V)> as) MMultiDict<K, V>
Creates an MMultiDict from a Dart Iterable of key-value pairs.
mmultiset<A>(Iterable<A> as) MMultiSet<A>
Creates an MMultiSet from a Dart Iterable.
mset<A>(Iterable<A> as) MSet<A>
Creates an MSet from a Dart Iterable.
nel<A>(A head, [Iterable<A>? tail]) NonEmptyIList<A>
Creates a NonEmptyIList with the given head element, and any additional elements after.
nil<A>() IList<A>
Returns an empty IList.
none<A>() Option<A>
Creates a None with the given type parameter.

Typedefs

Function0<T0> = T0 Function()
Type alias for function taking 0 arguments.
Function1<T0, T1> = T1 Function(T0)
Type alias for function taking 1 arguments.
Function10<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> = T10 Function(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9)
Type alias for function taking 10 arguments.
Function10C<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> = Function1<T0, Function9C<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>>
Type alias for curried function that takes 10 arguments, one at a time.
Function11<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> = T11 Function(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)
Type alias for function taking 11 arguments.
Function11C<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> = Function1<T0, Function10C<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>>
Type alias for curried function that takes 11 arguments, one at a time.
Function12<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> = T12 Function(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)
Type alias for function taking 12 arguments.
Function12C<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> = Function1<T0, Function11C<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>>
Type alias for curried function that takes 12 arguments, one at a time.
Function13<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> = T13 Function(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)
Type alias for function taking 13 arguments.
Function13C<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> = Function1<T0, Function12C<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>>
Type alias for curried function that takes 13 arguments, one at a time.
Function14<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14> = T14 Function(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)
Type alias for function taking 14 arguments.
Function14C<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14> = Function1<T0, Function13C<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>>
Type alias for curried function that takes 14 arguments, one at a time.
Function15<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> = T15 Function(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14)
Type alias for function taking 15 arguments.
Function15C<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> = Function1<T0, Function14C<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>>
Type alias for curried function that takes 15 arguments, one at a time.
Function16<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> = T16 Function(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)
Type alias for function taking 16 arguments.
Function16C<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> = Function1<T0, Function15C<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>>
Type alias for curried function that takes 16 arguments, one at a time.
Function17<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17> = T17 Function(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16)
Type alias for function taking 17 arguments.
Function17C<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17> = Function1<T0, Function16C<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17>>
Type alias for curried function that takes 17 arguments, one at a time.
Function18<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18> = T18 Function(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17)
Type alias for function taking 18 arguments.
Function18C<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18> = Function1<T0, Function17C<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18>>
Type alias for curried function that takes 18 arguments, one at a time.
Function19<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19> = T19 Function(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18)
Type alias for function taking 19 arguments.
Function19C<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19> = Function1<T0, Function18C<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19>>
Type alias for curried function that takes 19 arguments, one at a time.
Function2<T0, T1, T2> = T2 Function(T0, T1)
Type alias for function taking 2 arguments.
Function20<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20> = T20 Function(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19)
Type alias for function taking 20 arguments.
Function20C<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20> = Function1<T0, Function19C<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20>>
Type alias for curried function that takes 20 arguments, one at a time.
Function21<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21> = T21 Function(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20)
Type alias for function taking 21 arguments.
Function21C<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21> = Function1<T0, Function20C<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21>>
Type alias for curried function that takes 21 arguments, one at a time.
Function22<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22> = T22 Function(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21)
Type alias for function taking 22 arguments.
Function22C<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22> = Function1<T0, Function21C<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22>>
Type alias for curried function that takes 22 arguments, one at a time.
Function2C<T0, T1, T2> = Function1<T0, Function1<T1, T2>>
Type alias for curried function that takes 2 arguments, one at a time.
Function3<T0, T1, T2, T3> = T3 Function(T0, T1, T2)
Type alias for function taking 3 arguments.
Function3C<T0, T1, T2, T3> = Function1<T0, Function2C<T1, T2, T3>>
Type alias for curried function that takes 3 arguments, one at a time.
Function4<T0, T1, T2, T3, T4> = T4 Function(T0, T1, T2, T3)
Type alias for function taking 4 arguments.
Function4C<T0, T1, T2, T3, T4> = Function1<T0, Function3C<T1, T2, T3, T4>>
Type alias for curried function that takes 4 arguments, one at a time.
Function5<T0, T1, T2, T3, T4, T5> = T5 Function(T0, T1, T2, T3, T4)
Type alias for function taking 5 arguments.
Function5C<T0, T1, T2, T3, T4, T5> = Function1<T0, Function4C<T1, T2, T3, T4, T5>>
Type alias for curried function that takes 5 arguments, one at a time.
Function6<T0, T1, T2, T3, T4, T5, T6> = T6 Function(T0, T1, T2, T3, T4, T5)
Type alias for function taking 6 arguments.
Function6C<T0, T1, T2, T3, T4, T5, T6> = Function1<T0, Function5C<T1, T2, T3, T4, T5, T6>>
Type alias for curried function that takes 6 arguments, one at a time.
Function7<T0, T1, T2, T3, T4, T5, T6, T7> = T7 Function(T0, T1, T2, T3, T4, T5, T6)
Type alias for function taking 7 arguments.
Function7C<T0, T1, T2, T3, T4, T5, T6, T7> = Function1<T0, Function6C<T1, T2, T3, T4, T5, T6, T7>>
Type alias for curried function that takes 7 arguments, one at a time.
Function8<T0, T1, T2, T3, T4, T5, T6, T7, T8> = T8 Function(T0, T1, T2, T3, T4, T5, T6, T7)
Type alias for function taking 8 arguments.
Function8C<T0, T1, T2, T3, T4, T5, T6, T7, T8> = Function1<T0, Function7C<T1, T2, T3, T4, T5, T6, T7, T8>>
Type alias for curried function that takes 8 arguments, one at a time.
Function9<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> = T9 Function(T0, T1, T2, T3, T4, T5, T6, T7, T8)
Type alias for function taking 9 arguments.
Function9C<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> = Function1<T0, Function8C<T1, T2, T3, T4, T5, T6, T7, T8, T9>>
Type alias for curried function that takes 9 arguments, one at a time.
ValidatedNel<E, A> = Validated<NonEmptyIList<E>, A>
Type alias for Validated where the error case is fixed to NonEmptyIList<E>.