3 ms·
Enumerating keys makes (MAKE-HASH-TABLE) hard to use? What? If you want to enumerate keys, write a function. In Common Lisp I write: (defun hash-table-key
by lispm 14y ago
Enumerating keys makes (MAKE-HASH-TABLE) hard to use? What?
If you want to enumerate keys, write a function. In Common Lisp I write:
(defun hash-table-keys (ht)
(loop for k being each hash-key of ht collect k))
Done. That's Lisp. Need a function? Write it.
- jfb 14y agoCool, thanks. The problem here is in the elisp manual, then.