Joerg Arndt on Tue, 14 Aug 2007 19:07:36 +0200

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: default null-arg feature

* Bill Allombert <> [Aug 14. 2007 14:15]:
> On Mon, Aug 06, 2007 at 12:36:42PM +0200, Joerg Arndt wrote:
> > The mechanism to have automatic default zero
> > for all arguments has bitten me quite often.
> I agree with you it is painful. Maybe this should be changed in 
> PARI 2.4.

Not the default, there is surely code that depends on this feature.
An option per function would be perfectly fine.

Removing the call without any parens would however be useful.  It
would open the syntax for passing functions as arguments (a very
desirable feature IMHO).

> > Is there any reason to have it?
> > if so, could we have an option (e.g. something in ~/.gprc)
> > to disable it?
> gp2c allows to disable it with the '-S' flag or using types.

Thanks for the pointer, this will be a reasonable workaround for me.

> Cheers,
> Bill.

regards,    jj