Skip to content

Instantly share code, notes, and snippets.

@frenchy64
Created June 26, 2015 03:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save frenchy64/e4ac6f058c187c464a81 to your computer and use it in GitHub Desktop.
Save frenchy64/e4ac6f058c187c464a81 to your computer and use it in GitHub Desktop.
All the types of `clojure.core/keyword`
(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