Skip to content

Instantly share code, notes, and snippets.

@mhuebert
Last active June 2, 2019 11:41
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 mhuebert/21954a519bb5d1255ba6dba5407d809b to your computer and use it in GitHub Desktop.
Save mhuebert/21954a519bb5d1255ba6dba5407d809b to your computer and use it in GitHub Desktop.
[
;; sexp
()
;; reader-char
#{}
;; regex
#"x"
;; number
10
;; special-form
(def x 10)
;; macro
(defn x [])
(-> x)
;; fn
(my-fn my-arg)
;; keyword
:hello
;; nil, boolean
nil true false
;; core fn
(+ 1 2)
;; symbol
hello
;; conditional
(if true 0 1)
;; character
\x
;; comma
,
;; string
"hello"
;; variable
(let [a 10])
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment