[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

DRAFT Issue: HASH-TABLE-PACKAGE-GENERATORS (version 3)



re: This example is incorrect.  It should be: . . .

Right, the 'print-all-symbols' example was prematurely "printed".   Your
rewrite of it was almost correct; it should be

(defun print-all-symbols () 
  (with-package-iterator (next-symbol nil)
    (loop
      (multiple-value-bind (more? symbol) (next-symbol)
	(if more? 
           (print symbol)				<<---
	   (return))))))


I'll fix up the proposal "shortly".


-- JonL --