Created
February 24, 2017 23:25
-
-
Save amalloy/f9b707afdd03f4c5edaaa03a429bc430 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(let [inputs [1 :q "boo" (Object.)]] | |
(apply min-key count | |
(for [n (all-ns) | |
[k v] (ns-publics n) | |
:when (try | |
(= inputs (map v inputs)) | |
(catch Throwable t | |
false))] | |
(name k)))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment