Skip to content

Commit 70360fc

Browse files
committed
Add note on generic tuple support
1 parent 81a4ec0 commit 70360fc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/docs/reference/auto-parameter-tupling-spec.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,11 @@ is typed as `ProductN[T1, ..., Tn] => Te`, then it will be transformed to
6767
}
6868
```
6969

70+
##### Generic tuples
71+
72+
If we come to support generic tuples, which provide the possibility of having tuples/functions of arities larger than 22 we would need to additionally support generic tuples of the form `T1 *: T2 *: ...`.
73+
Translation of such a tuples would use the `apply` method on the tuple to access the elements instead of the `_N` methods of `Product`.
74+
7075
### Migration
7176

7277
Code like this could not be written before, hence the new notation would not be ambigouous after addoptation.

0 commit comments

Comments
 (0)