Package: alexandria
Function hash-table-plist
Lambda Listhash-table-plist (table) ArgumentsReturn Valuea property list Details Generates a property list from a hash table. Returns a property list containing the keys and values of 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 (hash-table-plist table) => (FRANCE PARIS BRITAIN LONDON GERMANY BERLIN) | See also |