Skip to content

Instantly share code, notes, and snippets.

@danielytics
Created January 6, 2016 15:33
Show Gist options
  • Save danielytics/43ec476342315f1ee32c to your computer and use it in GitHub Desktop.
Save danielytics/43ec476342315f1ee32c to your computer and use it in GitHub Desktop.
; ok
(println foo
bar
baz
quux)
; ok
(println
foo
bar
baz
quux)
; ok
(println foo bar baz quux)
; NOT ok
(println foo bar
baz
quuz)
; Examples:
(map
(fn [x]
(- (inc x) 3))
[1 2 3 4 5])
; Some exceptions that I've seen and done myself:
(into {}
(map ...))
(condp :foo input
:x ...
:y ...)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment