BothComposeOps

zio.prelude.experimental.BothComposeSyntax.BothComposeOps
implicit class BothComposeOps[A, B, =>:[_, _]](a2b: A =>: B)

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def &&&[C, :*:[_, _]](implicit both: Aux[=>:, :*:]): (A =>: C) => A =>: (B :*: C)

A symbolic alias for toBoth. Composes A -> B with A -> C to form A -> (B, C).

A symbolic alias for toBoth. Composes A -> B with A -> C to form A -> (B, C).

Attributes

def toBoth[C, :*:[_, _]](implicit both: Aux[=>:, :*:]): (A =>: C) => A =>: (B :*: C)

Composes A -> B with A -> C to form A -> (B, C).

Composes A -> B with A -> C to form A -> (B, C).

Attributes