TraverseExtensions

turbolift.internals.extensions.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
object Extensions

Members list

Extensions

Extensions

extension [A, U, S <: (IterableOnce)](thiz: S[Computation[A, U]])
def traverseVoid: Computation[Unit, 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 <: (Iterable)](thiz: S[Computation[A, U]])(using BuildFrom[S[Computation[A, U]], A, S[A]])
def traverse: Computation[S[A], U]
def traversePar: 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

def traverseVoid: Computation[Unit, U]

Like traverse, but discards the result.

Like traverse, but discards the result.

Attributes

Like traverseVoid.

Like traverseVoid.

Attributes

extension [A, T, U](thiz: Either[T, Computation[A, U]])
def traverse: Computation[Either[T, A], U]
def traversePar: Computation[Either[T, A], U]
def traverseVoid: Computation[Unit, 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