InseeFr/Trevas

Support `_` to omit a parameter

Opened this issue · 2 comments

Support `_` to omit a parameter

Didn't we discuss the ability to use named-parameters in Salamanca? We probably need to be backward compatible but I would prefer to implement this using named-parameters internally.

foo(bar, _) -> foo(name:bar)

Has to be a new feat in 2.1 version.

Maybe we can anticipate, continuing to support positional parameters but also named ones. That implies a G4 modification.