Tagged as challenge
Written on 2018-01-30
In Common Lisp, setq
takes any number of argument pairs. For example,
(setq x 1 y 2 z 3)
will set the value of x
to 1
, y
to 2
, and z
to 3
. Implement this in Scheme.
Follow Up: Discuss which behavior was not defined in the above example, and what choices you made to define them.