Ellipsis collection into a variable #48
Labels
meta-proposal
Language proposals
theme-internals
Relates to internal operations of the language
type-enhancement
New feature or request
In R, ellipsis are often collected into a list of values using
function(...) { list(...) }
, but if we are to add #47, then we don't really have a good way of collecting "the rest". Instead, we should have some way of collecting ellipsis contents into a variable.This would assign a new variable
rest
which contains the contents oflist(...)
.Together with #47, this would mean that we could also do something like:
The text was updated successfully, but these errors were encountered: