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.
7 lines
223 B
Markdown
7 lines
223 B
Markdown
# 05_predicates
|
|
|
|
Truthiness, the EQ/EQL/EQUAL/EQUALP ladder, and type predicates.
|
|
|
|
The empty list IS nil; everything else has some truth in it. Numbers
|
|
compare by value with `=`, so (= 1 1.0) is T while (eql 1 1.0) is NIL.
|