mutable default parameter problem [Prothon]
Paul Rubin
http
Tue Jun 29 03:41:49 EDT 2004
Christopher T King <squirrel at WPI.EDU> writes:
> Lisp and Scheme do the same thing:
>
> (set! a 5) <- sets a variable (i.e. changes its value)
> (eq? a 6) <- tests equality (returns true or false)
Actually just Scheme. Traditional Lisp uses (setq a 5) and (eq a 6).
For less frequently used predicates, Lisp sometimes uses the -p convention,
similar to your ? convention.
More information about the Python-list
mailing list