View source

abstract thx.Tuple0(Nil)

import thx.Tuple;

Available on all platforms

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

Class Fields

inline function nilToTuple(v:Nil):Tuple0

Creates Tuple0 from Nil.

Instance Fields

inline function new():Tuple0

Constructs an instance of Tuple0.

inline function toNil():Nil

Cast to Nil.

inline function toString():String

Provides a string representation of the Tuple

inline function 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.