Skip to content

Instantly share code, notes, and snippets.

@johanatan
Created December 27, 2015 19:32
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 johanatan/607127a37610969af54e to your computer and use it in GitHub Desktop.
Save johanatan/607127a37610969af54e to your computer and use it in GitHub Desktop.
listp in clojure
cljs.user=> (type '(1 2 3))
cljs.core/List
cljs.user=> (= clojure.core/List (type (cons 1 '(2))))
false
cljs.user=> (type (cons 1 '(2)))
cljs.core/Cons
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment