Created
June 26, 2015 03:48
-
-
Save frenchy64/e4ac6f058c187c464a81 to your computer and use it in GitHub Desktop.
All the types of `clojure.core/keyword`
This file contains hidden or 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
(is-tc-e (fn [k] | |
(let [i (keyword k)] | |
i)) | |
(IFn ['a -> ':a] | |
['a/b -> ':a/b] | |
['"a" -> ':a] | |
['"a/b" -> ':a/b] | |
[':a -> ':a] | |
[':a/b -> ':a/b] | |
[Sym -> Kw] | |
[Kw -> Kw] | |
[Str -> Kw] | |
[(U Sym Kw Str) -> Kw] | |
[nil -> nil] | |
[Any -> (U nil Kw)])) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment