Alt

smithy4s.schema.Alt
See theAlt companion object
final case class Alt[F[_], U, A](label: String, instance: F[A], inject: A => U)

Represents a member of coproduct type (sealed trait)

Attributes

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

Members list

Concise view

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

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product