Skip to content

Instantly share code, notes, and snippets.

@lispm
Created February 17, 2013 21:47
Show Gist options
  • Save lispm/4973662 to your computer and use it in GitHub Desktop.
Save lispm/4973662 to your computer and use it in GitHub Desktop.
(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<)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment