Wishlist: functions with keyword args, optional args, and/or variable-arity argument (varargs) lists (original) (raw)

A portion of the community (and of the core team) sees one or more of the following features as important for programmer ergonomics:

This issue is recording that we want to investigate designs for this, but not immediately. The main backwards compatibility concern is about premature commitment to library API's that would be simplified if one adds one or more of the above features. Nonetheless, We believe we can produce a reasonable 1.0 version of Rust without support for this.

(This issue is also going to collect links to all of the useful RFC PR's and/or Rust issues that contain community discussion of these features.)