|Charles Greathouse on Mon, 16 May 2011 19:32:48 +0200|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
|Re: Bug in apply?|
On Mon, May 16, 2011 at 12:26:06PM -0400, Charles Greathouse wrote:This is actually a compromise for compatibility with GP 2.3.
> apply(Str, )
> fails in PARI 2.4.4 in both Linux and Windows (using the latest SVN
> version). apply(s->Str(s), ) works as expected.
Under both versions:
%1 = ""
so your statement is equivalent to
which is invalid.
The issue exist with any built-in GP function that has no mandatory argument and
at least one optional argument.
Other examples include Vec, random, etc.