Fix 14 wave-4 re-review findings (batches w4a+w4b)
This commit is contained in:
1 parent
a28a35991f
commit
fd5e11cdeb
23 files changed
+98
-29
No files matched your search
@@ -1,8 +1,9 @@
|
||||
;;; LOOPS 6: COUNT, MAXIMIZE, LOOP-FINISH
|
||||
;;;
|
||||
;;; LOOP accumulates more than lists: COUNT tallies the iterations
|
||||
;;; whose test is true, MAXIMIZE tracks the biggest value seen (0
|
||||
;;; for an empty run, so WIDEST below answers NIL itself).
|
||||
;;; whose test is true, MAXIMIZE tracks the biggest value seen -
|
||||
;;; what an empty run answers is implementation-dependent (0 in
|
||||
;;; SBCL), so WIDEST below handles the empty case itself.
|
||||
;;;
|
||||
;;; LOOP-FINISH leaves the iterations early, gently: the FINALLY
|
||||
;;; clause still runs, so (finally (return total)) hands the value
|
||||
|
||||
Reference in new issue
Block a user