Alt

final case class Alt[F[_], U, A](label: String, instance: F[A], inject: A => U)

Represents a member of coproduct type (sealed trait)

Companion:
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply(value: A): WithValue[F, U, A]
def mapK[G[_]](fk: PolyFunction[F, G]): Alt[G, U, A]

Inherited methods

Inherited from:
Product