Invariant parent of Decidable and Alternative.
Used for typeclass derivation of products, coproducts and value types.
- Companion
- object
Type members
Inherited classlikes
Value members
Abstract methods
Concrete methods
final
def xcoderiving2[Z, A1, A2](f: A1 \/ A2 => Z, g: Z => A1 \/ A2)(implicit a1: F[A1], a2: F[A2]): F[Z]
final
def xcoderiving3[Z, A1, A2, A3](f: A1 \/ A2 \/ A3 => Z, g: Z => A1 \/ A2 \/ A3)(implicit a1: F[A1], a2: F[A2], a3: F[A3]): F[Z]
def xcoproduct3[Z, A1, A2, A3](a1: => F[A1], a2: => F[A2], a3: => F[A3])(f: A1 \/ A2 \/ A3 => Z, g: Z => A1 \/ A2 \/ A3): F[Z]
Inherited methods
final
def xderiving3[Z, A1, A2, A3](f: (A1, A2, A3) => Z, g: Z => (A1, A2, A3))(implicit a1: F[A1], a2: F[A2], a3: F[A3]): F[Z]
- Inherited from
- InvariantApplicative
final
def xderiving4[Z, A1, A2, A3, A4](f: (A1, A2, A3, A4) => Z, g: Z => (A1, A2, A3, A4))(implicit a1: F[A1], a2: F[A2], a3: F[A3], a4: F[A4]): F[Z]
- Inherited from
- InvariantApplicative
Converts ma
to a value of type F[B]
using the provided functions f
and g
.
Converts ma
to a value of type F[B]
using the provided functions f
and g
.
- Inherited from
- InvariantFunctor
Converts ma
to a value of type F[B]
using the provided bijection.
Converts ma
to a value of type F[B]
using the provided bijection.
- Inherited from
- InvariantFunctor
Converts ma
to a value of type F[B]
using the provided isomorphism.
Converts ma
to a value of type F[B]
using the provided isomorphism.
- Inherited from
- InvariantFunctor
def xproduct3[Z, A1, A2, A3](a1: => F[A1], a2: => F[A2], a3: => F[A3])(f: (A1, A2, A3) => Z, g: Z => (A1, A2, A3)): F[Z]
- Inherited from
- InvariantApplicative
def xproduct4[Z, A1, A2, A3, A4](a1: => F[A1], a2: => F[A2], a3: => F[A3], a4: => F[A4])(f: (A1, A2, A3, A4) => Z, g: Z => (A1, A2, A3, A4)): F[Z]
- Inherited from
- InvariantApplicative