Created
January 6, 2016 15:33
-
-
Save danielytics/43ec476342315f1ee32c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; 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