3 ms·
Common Lisp (defun example (&rest maps) (format nil "~:[<none>~;~:*~{~A~^, ~}~]" (sort (remove-duplicates (loop fo
by lispm 14y ago
Common Lisp
(defun example (&rest maps)
(format nil "~:[<none>~;~:*~{~A~^, ~}~]"
(sort (remove-duplicates
(loop for map in maps nconc
(loop for key being the hash-key of map collect key))
:test 'equal)
'string<)))