composeInterpreters<L, R, O> function

Function1<Either<L, R>, O> composeInterpreters<L, R, O>(
  1. O lInterpreter(
    1. L l
    ),
  2. O rInterpreter(
    1. R r
    )
)

Implementation

Function1<Either<L, R>, O> composeInterpreters<L, R, O>(O lInterpreter(L l), O rInterpreter(R r)) => (Either<L, R> op) => op.fold(lInterpreter, rInterpreter);