Mercurial > emacs
changeset 33999:fa2cc4f8942e
subr-arity
author | Dave Love <fx@gnu.org> |
---|---|
date | Wed, 29 Nov 2000 14:55:23 +0000 |
parents | 3d86eb495347 |
children | bbedc7c6ec6f |
files | lispref/functions.texi |
diffstat | 1 files changed, 10 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lispref/functions.texi Wed Nov 29 14:53:45 2000 +0000 +++ b/lispref/functions.texi Wed Nov 29 14:55:23 2000 +0000 @@ -144,6 +144,16 @@ @end example @end defun +@defun subr-arity subr +@tindex subr-arity +This function provides information about the argument list of a +primitive, @var{subr}. The returned value is a pair +@code{(@var{min} . @var{max})}. @var{min} is the minimum number of +args. @var{max} is the maximum number or the symbol @code{many}, for a +function with @code{&rest} arguments, or the symbol @code{unevalled} if +@var{subr} is a special form. +@end defun + @node Lambda Expressions @section Lambda Expressions @cindex lambda expression