L - left type
R - right type
A - result type
public class FoldIntermediate<L,R,A>
A builder style class for a fluent api when fold'ing an Either
public FoldIntermediate(@NotNull
Either<? extends L,? extends R> either,
@NotNull
kotlin.jvm.functions.Function1<? super L,? extends A> fnL)
A builder style class for a fluent api when fold'ing an Either
either - the either that will be fold'edfnL - left fn for the fold@NotNull public Either<L,R> getEither()
the either that will be fold
'ed
@NotNull public kotlin.jvm.functions.Function1<L,A> getFnL()
left fn for the fold