Skip to content
scalive
Menu
ConnectingLiveReconnectingOffline
GitHub
o

TupleShape

object TupleShape

The two shapes: a tuple type contributes its elements, and any other type one element.

Defined by scalive.Signal.TupleShape. View source (scalive/api/src/scalive/Signal.scala:35-49)

Types1

Aux

type Aux = ([A, O <: Tuple] =>> (Signal.TupleShape[A] { type Out = O }))

A TupleShape for A whose Out is O.

Defined by scalive.Signal.TupleShape.Aux. View source (scalive/api/src/scalive/Signal.scala:37-37)

Givens2

scalar

given scalar[A](using x$1: util.NotGiven[<:<[A, Tuple]]): TupleShape.Aux[A, Tuple1[A]]

The shape of a type that is not statically a tuple: one element, Tuple1[A].

Defined by scalive.Signal.TupleShape.scalar. View source (scalive/api/src/scalive/Signal.scala:40-43)

tuple

given tuple[A <: Tuple]: TupleShape.Aux[A, A]

The shape of a tuple type: its own elements, which join the combined tuple.

Defined by scalive.Signal.TupleShape.tuple. View source (scalive/api/src/scalive/Signal.scala:46-49)