Package-level declarations

Continuations for working with custom types (e.g. Outcome)

val outcome1: Outcome<String, Int> = Present(1)
val outcome2: Outcome<String, Int> = Present(2)
outcome {
val a = outcome1.bind()
val b = outcome2.bind()
a + b


Link copied to clipboard
object outcome
Link copied to clipboard
value class OutcomeEagerEffectScope<E>(cont: EagerEffectScope<Either<Failure<E>, Absent>>) : EagerEffectScope<Either<Failure<E>, Absent>>
Link copied to clipboard
value class OutcomeEffectScope<E>(cont: EffectScope<Either<Failure<E>, Absent>>) : EffectScope<Either<Failure<E>, Absent>>