guile-user
[Top][All Lists]
Advanced

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

Re: testing number of arguments of a closure


From: Thien-Thi Nguyen
Subject: Re: testing number of arguments of a closure
Date: Sun, 03 Nov 2002 13:00:18 -0800

   From: Nic Ferrier <address@hidden>
   Date: 03 Nov 2002 20:50:05 +0000

   Is there a guile way to do "has_args" above?

(procedure-property (eval-string "(lambda (x y) (+ x y))") 'arity)
=> (2 0 #f)

thi




reply via email to

[Prev in Thread] Current Thread [Next in Thread]