AsyncShift

object AsyncShift

Companion object where defined given AsyncShift instances for Scala standard library objects.

See also:

[cps.AsyncShift]

Companion:
class
class Object
trait Matchable
class Any

Givens

Givens

given shiftedArrayOps[A]: AsyncShift[ArrayOps[A]]
given shiftedCpsMonad[F[_], M <: CpsMonad[F]](using CpsMonad[F]): AsyncShift[M]
given shiftedEither[A, B]: AsyncShift[Either[A, B]]
given shiftedEitherLeftProjection[A, B]: AsyncShift[LeftProjection[A, B]]
given shiftedFunction1[A, B]: AsyncShift[A => B]
given shiftedImmutableMapOps[K, V, CC <: ([K, V] =>> MapOps[K, V, LazyRef(...), LazyRef(...)] & Iterable[(K, V)])]: AsyncShift[CC[K, V]]
given shiftedIndexedSeqOps[A, C <: ([X] =>> IndexedSeq[X] & IndexedSeqOps[X, LazyRef(...), LazyRef(...)])]: AsyncShift[C[A]]
given shiftedIterable[A, CA <: Iterable[A]]: AsyncShift[CA]
given shiftedIterableOps[A, C <: ([X] =>> Iterable[X] & IterableOps[X, LazyRef(...), LazyRef(...)])]: AsyncShift[C[A]]
given shiftedList[A]: AsyncShift[List[A]]
given shiftedMapOps[K, V, CC <: ([K, V] =>> MapOps[K, V, LazyRef(...), LazyRef(...)] & Iterable[(K, V)])]: AsyncShift[CC[K, V]]
given shiftedOption[A]: AsyncShift[Option[A]]
given shiftedPartialFunction[A, B]: AsyncShift[PartialFunction[A, B]]
given shiftedRange[CA <: Range]: AsyncShift[CA]
given shiftedSeqOps[A, C <: ([X] =>> Seq[X] & SeqOps[X, LazyRef(...), LazyRef(...)])]: AsyncShift[C[A]]
given shiftedTry[A]: AsyncShift[Try[A]]
given shiftedTryModule: AsyncShift[Try.type]
given shiftedUsing: AsyncShift[Using.type]