cps.syntax

package cps.syntax

Members list

Concise view

Extensions

Extensions

extension [F[_], T, G[_]](ft: F[T])
transparent inline def unary_!(using CpsAwaitable[F], CpsMonadContext[G]): T

short synonym of await It can be helpful when monad or environment does not support automatic coloring, but the default await syntax is too heavy.

short synonym of await It can be helpful when monad or environment does not support automatic coloring, but the default await syntax is too heavy.

Attributes

extension [F[_], T, S](x: F[T])
def flatMap(using m: CpsMonad[F])(f: T => F[S]): F[S]

allows to use for syntax on generic monad-wrapped values.

allows to use for syntax on generic monad-wrapped values.

Attributes

def map(using m: CpsMonad[F])(f: T => S): F[S]

allows to use for syntax on generic monad-wrapped values.

allows to use for syntax on generic monad-wrapped values.

Attributes