Skip to content

actual argument matching does not conform to the definition (PR#13636)

1 message · Wacek Kusnierczyk

#
Thomas Lumley wrote:
thanks.  indeed, the documentation --  the language *definition* --
should make this clear.  so this is a bug in the definition, which does
not match the implementation, which in turn is as intended (right?)

?.Primitive says:

"     The advantage of '.Primitive' over '.Internal' functions is the
     potential efficiency of argument passing.  However, this is done
     by ignoring argument names and using positional matching of
     arguments (unless arranged differently for specific primitives
     such as 'rep'), so this is discouraged for functions of more than
     one argument.
"

what is discouraged?

vQ