Fix 12 exercise defects from review wave 1 (scouts a+d)
This commit is contained in:
1 parent
3f753b2a8f
commit
2735c8dca5
18 files changed
+49
-5
No files matched your search
@@ -3,8 +3,9 @@
|
||||
;;; A function may return several values at once:
|
||||
;;; (values 1 2) => 1 and 2
|
||||
;;; Everything except the first value rides along, waiting for
|
||||
;;; MULTIPLE-VALUE-BIND or NTH-VALUE to pick it up. FLOOR is a
|
||||
;;; classic: (floor 10 3) returns 3 AND 1.
|
||||
;;; MULTIPLE-VALUE-BIND or NTH-VALUE to pick it up. The checks
|
||||
;;; below gather the values with MULTIPLE-VALUE-LIST, turning them
|
||||
;;; into a list. FLOOR is a classic: (floor 10 3) returns 3 AND 1.
|
||||
|
||||
;; TODO: Return TWO values: the whole part of A/B and the rest.
|
||||
(defun divide (a b)
|
||||
|
||||
Reference in new issue
Block a user