cps.syntax

package cps.syntax

Members list

Packages

Extensions

Extensions

extension [F[_], T, G[_]](ft: F[T])(using CpsMonadContext[G], CpsMonadConversion[F, G])
transparent inline def unary_!: 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

Source
package.scala
extension [F[_], T, S](x: F[T])(using m: CpsMonad[F])
def flatMap(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

Source
ForSyntax.scala
def map(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

Source
ForSyntax.scala