NamedTupleDecomposition

scala.NamedTupleDecomposition

Separate from NamedTuple object so that we can match on the opaque type NamedTuple.

Attributes

Experimental
true
Source
NamedTuple.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Types

type DropNames[NT <: AnyNamedTuple] = NT match { case NamedTuple[_$4, x] => x }

The value types of a named tuple represented as a regular tuple.

The value types of a named tuple represented as a regular tuple.

Attributes

Source
NamedTuple.scala
type Names[X <: AnyNamedTuple] = X match { case NamedTuple[n, _$3] => n }

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.

Attributes

Source
NamedTuple.scala