Dotty Documentation

0.17.0-bin-SNAPSHOT

@Child sealed trait Tuple
extends Any

Tuple of arbitrary arity

[-] Constructors

[-] Members

[+] @Body inline def *: ( x: H ) : *: [ H, This ]

Return a new tuple by prepending the element to this tuple. This opteration is O(this.size)

[+] @Body inline def ++ ( that: Tuple ) : Concat [ This, that.type ]

Return a new tuple by concatenating this tuple with that tuple. This opteration is O(this.size + that.size)

[+] @Body inline def size : Size [ This ]

Return the size (or arity) of the tuple

[+] @Body inline def toArray : Array [ Object ]

Create a copy this tuple as an Array