Bill Allombert on Fri, 15 Dec 2017 00:14:14 +0100 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: patch: Variable argument is always optional because it can be inferred. |
On Thu, Dec 14, 2017 at 05:40:17PM -0500, Sam Steingold wrote: > > * Bill Allombert <Ovyy.Nyybzoreg@zngu.h-obeqrnhk.se> [2017-12-14 23:28:37 +0100]: > > > > On Thu, Dec 14, 2017 at 04:43:06PM -0500, Sam Steingold wrote: > >> > >> There are ~50 functions which accept a variable arg ("n" prototype) and > >> everywhere except for the 3 places below it is optional. > >> In fact, the underlying C functions accept -1, so these 3 are actually > >> optional too. > > > > But they are not optional in GP, so you cannot change the prototype > > code, this would change the GP language. > > Why not change it? ;-) Mandatory variables names are a feature not a bug. There is nothing to fix here. Cheers, Bill.