Package: alexandria
Function maphash-keys
Lambda Listmaphash-keys (function table) ArgumentsDetails Iterates over all keys in a hash table. Like the Common Lisp function maphash, but calls function with each key in the hash table table. Examples(defvar table (make-hash-table)) => TABLE (setf (gethash 'Germany table) 'Berlin) => BERLIN (setf (gethash 'France table) 'Paris) => PARIS (setf (gethash 'Britain table) 'London) => LONDON (maphash-keys #'print table) >> GERMANY BRITAIN FRANCE => NIL | See also |