On Sat, Jul 22, 2006 at 11:19:28AM -0500, Jon Wilson wrote: > Hi, > Is there a good way to determine the number of arguments that a given > procedure will take?
Here's a fishing rod ;-) | [EMAIL PROTECTED]:~$ guile | guile> (apropos "arity") | (ice-9 session): arity #<procedure arity (obj)> | guile> (arity apropos) | 1 or more arguments: `rgx', the rest in `options'. | guile> > Also, on an unrelated note, is it possible to define values (as in (lambda > () (values 1 2)) ) in terms of McCarthy's original seven lisp primitives? > Or would this question be better asked somewhere else (like c.l.scheme)? I don't understand exactly what you mean here. There is values and call-with-values in guile -- but maybe my answer is way off... Regards -- toms
signature.asc
Description: Digital signature
_______________________________________________ Guile-user mailing list [email protected] http://lists.gnu.org/mailman/listinfo/guile-user
