cps.runtime
package cps.runtime
Type members
Classlikes
wrapper which can be used for translations of call-chains with
given substitution methods.
The conventions, that shifted method can return such wrapper from
shifted function instead F[T] and then cps engine substitute calls of
chanined functions if they are implemented.
given substitution methods.
The conventions, that shifted method can return such wrapper from
shifted function instead F[T] and then cps engine substitute calls of
chanined functions if they are implemented.
class CpsMonadSelfAsyncShift[F <: ([_$1] =>> Any), M <: CpsMonad[[_$1] =>> F[_$1]]] extends AsyncShift[M]
class DelayedWithFilter[F <: ([_$71] =>> Any), A, C <: ([X] =>> Iterable[X] & IterableOps[X, C, C[X]]), CA <: C[A]](c: CA, m: CpsMonad[F], p: A => F[Boolean]) extends CallChainAsyncShiftSubst[F, WithFilter[A, C], F[WithFilter[A, C]]]
class Function1AndThenCallChainSubst[F <: ([_$3] =>> Any), A, B, C](f: A => B, g: B => F[C], m: CpsMonad[F]) extends CallChainAsyncShiftSubst[F, A => C, A => F[C]]
class Function1ComposeAndThenCallChainSubst[F <: ([_$5] =>> Any), A, B, C](f: A => F[B], g: B => F[C], m: CpsMonad[F]) extends CallChainAsyncShiftSubst[F, A => C, A => F[C]]
class Function1ComposeCallChainSubst[F <: ([_$4] =>> Any), A, B, Z](f: A => B, g: Z => F[A], m: CpsMonad[F]) extends CallChainAsyncShiftSubst[F, Z => B, Z => F[B]]
class IterableOpsAsyncShift[A, C <: ([X] =>> Iterable[X] & IterableOps[X, C, C[X]]), CA <: C[A]]() extends IterableAsyncShift[A, CA]
class MapOpsAsyncShift[K, V, CC <: ([KX, VX] =>> MapOps[KX, VX, CC, CC[KX, VX]] & CI[(KX, VX)]), CI <: ([X] =>> Iterable[X] & IterableOps[X, CI, CI[X]]), CKV <: CC[K, V] & PartialFunction[K, V]]() extends IterableOpsAsyncShift[(K, V), CI, CKV] with PartialFunctionAsyncShiftBase[K, V, CKV] with AsyncShift[CKV]
class PartialFunctionAsyncShift[T, R] extends PartialFunctionAsyncShiftBase[T, R, PartialFunction[T, R]]
trait PartialFunctionCallChainSubst[F <: ([_$1] =>> Any), A, B](m: CpsMonad[F]) extends CallChainAsyncShiftSubst[F, PartialFunction[A, B], A => F[B]]
- Companion
- object
class SeqAsyncShift[A, C <: ([X] =>> Seq[X] & SeqOps[X, C, C[X]]), CA <: C[A]] extends IterableOpsAsyncShift[A, C, CA]
class SeqOpsAsyncShift[A, C <: ([X] =>> Seq[X] & SeqOps[X, C, C[X]]), CA <: C[A]]() extends IterableOpsAsyncShift[A, C, CA]