Tuple0 is a tuple with no values. It maps directly to Nil.nil.

Constructor

inline new ()

Constructs an instance of Tuple0.

Methods

inline toNil ():Nil

Cast to Nil.

inline toString ():String

Provides a string representation of the Tuple

inline with<T0> (v:T0):Tuple1<T0>

Creates a new Tuple with the addition of the extra value v. The Tuple of course increase in size by one.

Static methods

staticinline nilToTuple (v:Nil):Tuple0

Creates Tuple0 from Nil.