70 exercises in 20 chapters, from first s-expressions to restarts, macros, CLOS, and a tiny Lisp interpreter. Each exercise ships broken with a solved twin and a hint. Includes a watch-mode runner, a plain-CL check harness, a nix flake, and verification tooling. All plain SBCL, no dependencies.
260 B
260 B
02_functions
DEFUN, arity, optional and keyword arguments, and multiple values.
The return value is simply the last form of the body - no return
keyword needed. Extra return values ride along with VALUES, and
functions like FLOOR hand them out for free.