# .platform. clr
# immutable Tuples up to length 9
class NTuple<of T1, T2>
var value1 as T1 is readonly
var value2 as T2 is readonly
cue init(value1 as T1)
base.init
.value1 = value1
cue init(value1 as T1, value2 as T2)
base.init
.value1 = value1
.value2 = value2
class NTuple<of T1, T2, T3> inherits NTuple<of T1, T2>
var value3 as T3 is readonly
cue init(value1 as T1, value2 as T2, value3 as T3)
base.init(value1, value2)
.value3 = value3
class NTuple<of T1, T2, T3, T4> inherits NTuple<of T1, T2, T3>
var value4 as T4 is readonly
cue init(v1 as T1, v2 as T2, v3 as T3, v4 as T4)
base.init(v1, v2, v3)
.value4 = v4
class NTuple<of T1, T2, T3, T4, T5> inherits NTuple<of T1, T2, T3, T4>
var value5 as T5 is readonly
cue init(v1 as T1, v2 as T2, v3 as T3, v4 as T4, v5 as T5)
base.init(v1, v2, v3, v4)
.value5 = v5
class NTuple<of T1, T2, T3, T4, T5, T6> inherits NTuple<of T1, T2, T3, T4, T5>
var value6 as T6 is readonly
cue init(v1 as T1, v2 as T2, v3 as T3, v4 as T4, v5 as T5, v6 as T6)
base.init(v1, v2, v3, v4, v5)
.value6 = v6
class NTuple<of T1, T2, T3, T4, T5, T6, T7> inherits NTuple<of T1, T2, T3, T4, T5, T6>
var value7 as T7 is readonly
cue init(v1 as T1, v2 as T2, v3 as T3, v4 as T4, v5 as T5, v6 as T6, v7 as T7)
base.init(v1, v2, v3, v4, v5, v6)
.value7 = v7
class NTuple<of T1, T2, T3, T4, T5, T6, T7, T8> inherits NTuple<of T1, T2, T3, T4, T5, T6, T7>
var value8 as T8 is readonly
cue init(v1 as T1, v2 as T2, v3 as T3, v4 as T4, v5 as T5, v6 as T6, v7 as T7, v8 as T8)
base.init(v1, v2, v3, v4, v5, v6, v7)
.value8 = v8
class NTuple<of T1, T2, T3, T4, T5, T6, T7, T8, T9> inherits NTuple<of T1, T2, T3, T4, T5, T6, T7, T8>
var value9 as T9 is readonly
cue init(v1 as T1, v2 as T2, v3 as T3, v4 as T4, v5 as T5, v6 as T6, v7 as T7, v8 as T8, v9 as T9)
base.init(v1, v2, v3, v4, v5, v6, v7, v8)
.value9 = v9