functional library
A collection of functional programming structures.
Classes
Extensions
-
Curry1
on Map1<
T1, R> -
Curry10
on Map10<
T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, R> -
Curry2
on Map2<
T1, T2, R> -
Curry3
on Map3<
T1, T2, T3, R> -
Curry4
on Map4<
T1, T2, T3, T4, R> -
Curry5
on Map5<
T1, T2, T3, T4, T5, R> -
Curry6
on Map6<
T1, T2, T3, T4, T5, T6, R> -
Curry7
on Map7<
T1, T2, T3, T4, T5, T6, T7, R> -
Curry8
on Map8<
T1, T2, T3, T4, T5, T6, T7, T8, R> -
Curry9
on Map9<
T1, T2, T3, T4, T5, T6, T7, T8, T9, R> -
Partial1
on Map1<
T1, R> -
Partial10
on Map10<
T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, R> -
Partial2
on Map2<
T1, T2, R> -
Partial3
on Map3<
T1, T2, T3, R> -
Partial4
on Map4<
T1, T2, T3, T4, R> -
Partial5
on Map5<
T1, T2, T3, T4, T5, R> -
Partial6
on Map6<
T1, T2, T3, T4, T5, T6, R> -
Partial7
on Map7<
T1, T2, T3, T4, T5, T6, T7, R> -
Partial8
on Map8<
T1, T2, T3, T4, T5, T6, T7, T8, R> -
Partial9
on Map9<
T1, T2, T3, T4, T5, T6, T7, T8, T9, R> - ScopeFunctionExtension on T
Functions
-
constantFunction0<
R> (R value) → Map0< R> - Constant function with 0 positional arguments.
-
constantFunction1<
T1, R> (R value) → Map1< T1, R> - Constant function with 1 positional argument.
-
constantFunction10<
T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, R> (R value) → Map10< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, R> - Constant function with 10 positional arguments.
-
constantFunction2<
T1, T2, R> (R value) → Map2< T1, T2, R> - Constant function with 2 positional arguments.
-
constantFunction3<
T1, T2, T3, R> (R value) → Map3< T1, T2, T3, R> - Constant function with 3 positional arguments.
-
constantFunction4<
T1, T2, T3, T4, R> (R value) → Map4< T1, T2, T3, T4, R> - Constant function with 4 positional arguments.
-
constantFunction5<
T1, T2, T3, T4, T5, R> (R value) → Map5< T1, T2, T3, T4, T5, R> - Constant function with 5 positional arguments.
-
constantFunction6<
T1, T2, T3, T4, T5, T6, R> (R value) → Map6< T1, T2, T3, T4, T5, T6, R> - Constant function with 6 positional arguments.
-
constantFunction7<
T1, T2, T3, T4, T5, T6, T7, R> (R value) → Map7< T1, T2, T3, T4, T5, T6, T7, R> - Constant function with 7 positional arguments.
-
constantFunction8<
T1, T2, T3, T4, T5, T6, T7, T8, R> (R value) → Map8< T1, T2, T3, T4, T5, T6, T7, T8, R> - Constant function with 8 positional arguments.
-
constantFunction9<
T1, T2, T3, T4, T5, T6, T7, T8, T9, R> (R value) → Map9< T1, T2, T3, T4, T5, T6, T7, T8, T9, R> - Constant function with 9 positional arguments.
-
emptyFunction0(
) → void - Empty function with 0 positional arguments.
-
emptyFunction1<
T1> (T1 arg1) → void - Empty function with 1 positional argument.
-
emptyFunction10<
T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> (T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10) → void - Empty function with 10 positional arguments.
-
emptyFunction2<
T1, T2> (T1 arg1, T2 arg2) → void - Empty function with 2 positional arguments.
-
emptyFunction3<
T1, T2, T3> (T1 arg1, T2 arg2, T3 arg3) → void - Empty function with 3 positional arguments.
-
emptyFunction4<
T1, T2, T3, T4> (T1 arg1, T2 arg2, T3 arg3, T4 arg4) → void - Empty function with 4 positional arguments.
-
emptyFunction5<
T1, T2, T3, T4, T5> (T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5) → void - Empty function with 5 positional arguments.
-
emptyFunction6<
T1, T2, T3, T4, T5, T6> (T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6) → void - Empty function with 6 positional arguments.
-
emptyFunction7<
T1, T2, T3, T4, T5, T6, T7> (T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7) → void - Empty function with 7 positional arguments.
-
emptyFunction8<
T1, T2, T3, T4, T5, T6, T7, T8> (T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8) → void - Empty function with 8 positional arguments.
-
emptyFunction9<
T1, T2, T3, T4, T5, T6, T7, T8, T9> (T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9) → void - Empty function with 9 positional arguments.
-
identityFunction<
T> (T arg) → T - Generic identity function with 1 positional argument.
-
throwFunction0(
Object throwable) → Map0< Never> - Throwing function with 0 positional arguments.
-
throwFunction1<
T1> (Object throwable) → Map1< T1, Never> - Throwing function with 1 positional argument.
-
throwFunction10<
T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> (Object throwable) → Map10< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, Never> - Throwing function with 10 positional arguments.
-
throwFunction2<
T1, T2> (Object throwable) → Map2< T1, T2, Never> - Throwing function with 2 positional arguments.
-
throwFunction3<
T1, T2, T3> (Object throwable) → Map3< T1, T2, T3, Never> - Throwing function with 3 positional arguments.
-
throwFunction4<
T1, T2, T3, T4> (Object throwable) → Map4< T1, T2, T3, T4, Never> - Throwing function with 4 positional arguments.
-
throwFunction5<
T1, T2, T3, T4, T5> (Object throwable) → Map5< T1, T2, T3, T4, T5, Never> - Throwing function with 5 positional arguments.
-
throwFunction6<
T1, T2, T3, T4, T5, T6> (Object throwable) → Map6< T1, T2, T3, T4, T5, T6, Never> - Throwing function with 6 positional arguments.
-
throwFunction7<
T1, T2, T3, T4, T5, T6, T7> (Object throwable) → Map7< T1, T2, T3, T4, T5, T6, T7, Never> - Throwing function with 7 positional arguments.
-
throwFunction8<
T1, T2, T3, T4, T5, T6, T7, T8> (Object throwable) → Map8< T1, T2, T3, T4, T5, T6, T7, T8, Never> - Throwing function with 8 positional arguments.
-
throwFunction9<
T1, T2, T3, T4, T5, T6, T7, T8, T9> (Object throwable) → Map9< T1, T2, T3, T4, T5, T6, T7, T8, T9, Never> - Throwing function with 9 positional arguments.
Typedefs
- Callback0 = void Function()
- Callback function type with 0 positional arguments.
-
Callback1<
T1> = void Function(T1 arg1) - Callback function type with 1 positional argument.
-
Callback10<
T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> = void Function(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10) - Callback function type with 10 positional arguments.
-
Callback2<
T1, T2> = void Function(T1 arg1, T2 arg2) - Callback function type with 2 positional arguments.
-
Callback3<
T1, T2, T3> = void Function(T1 arg1, T2 arg2, T3 arg3) - Callback function type with 3 positional arguments.
-
Callback4<
T1, T2, T3, T4> = void Function(T1 arg1, T2 arg2, T3 arg3, T4 arg4) - Callback function type with 4 positional arguments.
-
Callback5<
T1, T2, T3, T4, T5> = void Function(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5) - Callback function type with 5 positional arguments.
-
Callback6<
T1, T2, T3, T4, T5, T6> = void Function(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6) - Callback function type with 6 positional arguments.
-
Callback7<
T1, T2, T3, T4, T5, T6, T7> = void Function(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7) - Callback function type with 7 positional arguments.
-
Callback8<
T1, T2, T3, T4, T5, T6, T7, T8> = void Function(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8) - Callback function type with 8 positional arguments.
-
Callback9<
T1, T2, T3, T4, T5, T6, T7, T8, T9> = void Function(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9) - Callback function type with 9 positional arguments.
-
Map0<
R> = R Function() - Mapping function type with 0 positional arguments.
-
Map1<
T1, R> = R Function(T1 arg1) - Mapping function type with 1 positional argument.
-
Map10<
T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, R> = R Function(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10) - Mapping function type with 10 positional arguments.
-
Map2<
T1, T2, R> = R Function(T1 arg1, T2 arg2) - Mapping function type with 2 positional arguments.
-
Map3<
T1, T2, T3, R> = R Function(T1 arg1, T2 arg2, T3 arg3) - Mapping function type with 3 positional arguments.
-
Map4<
T1, T2, T3, T4, R> = R Function(T1 arg1, T2 arg2, T3 arg3, T4 arg4) - Mapping function type with 4 positional arguments.
-
Map5<
T1, T2, T3, T4, T5, R> = R Function(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5) - Mapping function type with 5 positional arguments.
-
Map6<
T1, T2, T3, T4, T5, T6, R> = R Function(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6) - Mapping function type with 6 positional arguments.
-
Map7<
T1, T2, T3, T4, T5, T6, T7, R> = R Function(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7) - Mapping function type with 7 positional arguments.
-
Map8<
T1, T2, T3, T4, T5, T6, T7, T8, R> = R Function(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8) - Mapping function type with 8 positional arguments.
-
Map9<
T1, T2, T3, T4, T5, T6, T7, T8, T9, R> = R Function(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9) - Mapping function type with 9 positional arguments.
- Predicate0 = bool Function()
- Predicate function type with 0 positional arguments.
-
Predicate1<
T1> = bool Function(T1 arg1) - Predicate function type with 1 positional argument.
-
Predicate10<
T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> = bool Function(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10) - Predicate function type with 10 positional arguments.
-
Predicate2<
T1, T2> = bool Function(T1 arg1, T2 arg2) - Predicate function type with 2 positional arguments.
-
Predicate3<
T1, T2, T3> = bool Function(T1 arg1, T2 arg2, T3 arg3) - Predicate function type with 3 positional arguments.
-
Predicate4<
T1, T2, T3, T4> = bool Function(T1 arg1, T2 arg2, T3 arg3, T4 arg4) - Predicate function type with 4 positional arguments.
-
Predicate5<
T1, T2, T3, T4, T5> = bool Function(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5) - Predicate function type with 5 positional arguments.
-
Predicate6<
T1, T2, T3, T4, T5, T6> = bool Function(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6) - Predicate function type with 6 positional arguments.
-
Predicate7<
T1, T2, T3, T4, T5, T6, T7> = bool Function(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7) - Predicate function type with 7 positional arguments.
-
Predicate8<
T1, T2, T3, T4, T5, T6, T7, T8> = bool Function(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8) - Predicate function type with 8 positional arguments.
-
Predicate9<
T1, T2, T3, T4, T5, T6, T7, T8, T9> = bool Function(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9) - Predicate function type with 9 positional arguments.