Separate from NamedTuple object so that we can match on the opaque type NamedTuple.
The value types of a named tuple represented as a regular tuple.
The names of a named tuple, represented as a tuple of literal string values.
The names of a named tuple, represented as a tuple of literal string values.
The tuple consisting of all elements of this tuple followed by all elements of tuplethat. The names of the two tuples must be disjoint.
The tuple consisting of all elements of this tuple followed by all elements of tuplethat. The names of the two tuples must be disjoint.
The value (without the name) at indexn of this tuple
The tuple consisting of all elements of this tuple except the firstn ones, or no elements ifn exceedssize.
The tuple consisting of all elements of this tuple except the firstn ones, or no elements ifn exceedssize.
The first element value of this tuple
The tuple consisting of all elements of this tuple except the last one
The tuple consisting of all elements of this tuple except the last one
The last element value of this tuple
The named tuple consisting of all element values of this tuple mapped by the polymorphic mapping functionf. The names of elements are preserved. Ifx = (n1 = v1, ..., ni = vi) thenx.map(f) =(n1 = f(v1), ..., ni = f(vi))`.
The named tuple consisting of all element values of this tuple mapped by the polymorphic mapping functionf. The names of elements are preserved. Ifx = (n1 = v1, ..., ni = vi) thenx.map(f) =(n1 = f(v1), ..., ni = f(vi))`.
The named tuple consisting of all elements of this tuple in reverse
The named tuple consisting of all elements of this tuple in reverse
The number of elements in this tuple
The tuple(x.take(n), x.drop(n))
The tuple consisting of all elements of this tuple except the first one
The tuple consisting of all elements of this tuple except the first one
The tuple consisting of the firstn elements of this tuple, or all elements ifn exceedssize.
The tuple consisting of the firstn elements of this tuple, or all elements ifn exceedssize.
An array consisting of all element values
An immutable array consisting of all element values
A list consisting of all element values
The named tuple consisting of all element values of this tuple zipped with corresponding element values in named tuplethat. If the two tuples have different sizes, the extra elements of the larger tuple will be disregarded. The names ofx andthat at the same index must be the same. The result tuple keeps the same names as the operand tuples.
The named tuple consisting of all element values of this tuple zipped with corresponding element values in named tuplethat. If the two tuples have different sizes, the extra elements of the larger tuple will be disregarded. The names ofx andthat at the same index must be the same. The result tuple keeps the same names as the operand tuples.