Wave 4: add sequences/vectors/files chapters, 23 exercises, quiz3, finish ceremony, PCL table

This commit is contained in:
venomade committed 2026-11-22 11:15:35 +00:00
1 parent 77843402fa
commit 4675bd1106
76 files changed
+2505 -14

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
;;; S-EXPRESSIONS 4: READER SHORTHAND (solution)
(defstruct point x y)
(defun the-adder ()
#'+)
(defun counting ()
#(1 2 3))
(defun origin ()
#s(point :x 1 :y 2))
(defun magic-web-number ()
#xdeadbeef)
;;; ------------------------------------------------------------------
;;; Checks. Read them - they tell you what to aim for - but leave
;;; them unchanged.
;;; ------------------------------------------------------------------
(check (functionp (the-adder)))
(check (vectorp (counting)))
(check (point-p (origin)))
(check-equal 3735928559 (magic-web-number))