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.
240 B
240 B
06_lists
CONS cells, CAR and CDR, list building, association lists.
A list is a chain of pairs ending in NIL. Quote writes lists as data; LIST and CONS build them at runtime. Association lists map keys to values with nothing but pairs.