Skip to content

Instantly share code, notes, and snippets.

@apetrov
Created September 30, 2014 12:28
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 apetrov/4adbb333100ae2022577 to your computer and use it in GitHub Desktop.
Save apetrov/4adbb333100ae2022577 to your computer and use it in GitHub Desktop.
(print "foo" )
(sort [1 2 4 3])
(print { 1 2 3 4 })
(-> { :foo 1 } :foo)
(.toString (.append (StringBuilder.) "foo"))
(->> (StringBuilder. ) (.append "foo") (.toString) )
(apply * (range 1 (inc 5)))
(->> (inc 5) (range 1) (apply *))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment