What do we want? Variadics! When do we want it? At some point in the future, but always prioritizing careful design and coherence with the rest of the language!
-
-
Can tuples be variable length?
-
Yes, but it's a static constraint. E.g. a function needs to know the size of the tuple statically, ahead of time — and afaik there's no way of telling at compile time even how many items a tuple contains.
- 2 more replies
New conversation -
-
Show additional replies, including those that may contain offensive content
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.