Curried Result type, starting with the invalid part.
Curried Result type, starting with the invalid part.
This can be used to avoid type lambas:
// instead of type FR[+E] = Functor[({type ᅫᄏ[ᅫᄆ] = Result[E, ᅫᄆ]})#ᅫᄏ] // rather use type FR[+E] = Functor[Result.I[E]#V]
the resulting invalid type
Curried Result type, starting with the valid part.
Curried Result type, starting with the valid part.
This can be used to avoid type lambas:
// instead of type FR[+A] = Functor[({type ᅫᄏ[ᅫᄆ] = Result[ᅫᄆ, A]})#ᅫᄏ] // rather use type FR[+A] = Functor[Result.V[A]#I]
the resulting valid type
[use case] Transforms a sequence of Results into a Result of a sequence.
Transforms a sequence of Results into a Result of a sequence.
the resulting valid type
the resulting invalid type
a collection of results
A Result with all valid values or all invalid ones
[use case] Traverses over xs
and accumulates all results.
Traverses over xs
and accumulates all results.
the collection type
the resulting valid type
the resulting invalid type
a collection of values
function to validate a single value
A Result with all valid values or all invalid ones
Traverses over xs
accumulating all invalids but discarding all valid values.
Traverses over xs
accumulating all invalids but discarding all valid values.
the collection type
the resulting invalid type
a collection of values
function to validate a single value
A Result with all invalid values or Unit
0.2.0
Methods to create new Results.
Methods to combine multiple Results.
Companion object for Result
provides many factories and creators for
Result
instances0.1.0