TraverseExtensions

turbolift.internals.extensions.orphaned.TraverseExtensions

No need to use this trait directly, because it's inherited by Extensions object.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Concise view

Extensions

Extensions

extension [A, T, U](thiz: Either[T, Computation[A, U]])
def traverse: Computation[Either[T, A], U]
def traversePar: Computation[Either[T, A], U]

Like traverse, but discards the result.

Like traverse, but discards the result.

Attributes

Like traversePar, but discards the result.

Like traversePar, but discards the result.

Attributes

extension [A, U](thiz: Iterator[Computation[A, U]])
def traverse: Computation[Vector[A], U]

Transforms sequence of computations, into computation of sequence.

Transforms sequence of computations, into computation of sequence.

Attributes

def traversePar: Computation[Vector[A], U]

Like traverse, but executed parallelly for each element.

Like traverse, but executed parallelly for each element.

Attributes

extension [A, U, S <: (IterableOnce)](thiz: S[Computation[A, U]])

Like traverse, but discards the result.

Like traverse, but discards the result.

Attributes

Like traversePar, but discards the result.

Like traversePar, but discards the result.

Attributes

extension [A, U, S <: (Iterable)](thiz: S[Computation[A, U]])
def traverse(using BuildFrom[S[Computation[A, U]], A, S[A]]): Computation[S[A], U]
def traversePar(using BuildFrom[S[Computation[A, U]], A, S[A]]): Computation[S[A], U]
extension [A, U](thiz: Option[Computation[A, U]])
def traverse: Computation[Option[A], U]

Transforms option of computation, into computation of option.

Transforms option of computation, into computation of option.

Attributes

def traversePar: Computation[Option[A], U]

Like traverse.

Like traverse.

Attributes

Like traverse, but discards the result.

Like traverse, but discards the result.

Attributes

Attributes