normalized the results of procedure-arity
svn: r17504 original commit: 68efb4008a10f48f758289eca2e38a9eb47f5cf0
This commit is contained in:
parent
40cf224166
commit
1aeb722e27
|
@ -40,7 +40,7 @@
|
|||
|
||||
;; using only optionals
|
||||
(t (procedure-arity (lambda/kw (#:optional) 0)) => 0
|
||||
(procedure-arity (lambda/kw (x #:optional y z) 0)) => '(3 1 2))
|
||||
(procedure-arity (lambda/kw (x #:optional y z) 0)) => '(1 2 3))
|
||||
(let ([f (lambda/kw (x #:optional y) (list x y))])
|
||||
(t (f 0) => '(0 #f)
|
||||
(f 0 1) => '(0 1)))
|
||||
|
|
Loading…
Reference in New Issue
Block a user