Fixed whitespace: trailing and indent.

This commit is contained in:
Spenser Truex 2019-10-27 18:26:56 -07:00 committed by Colin Jones
parent 3afe01adc7
commit 9c115996f9
2 changed files with 4 additions and 4 deletions

View file

@ -39,13 +39,13 @@
:e 5})
(update-in [:c :e] inc)
(get-in [:c :e])))
"We can use functions we have written ourselves that follow this pattern"
(= __
(-> {}
(assoc :a 1)
(function-that-takes-a-map "hello" "there")))
"We can also thread last using ->>"
(= __
(->> [1 2 3]

View file

@ -6,7 +6,7 @@
(def transforms
(comp (map inc)
(filter even?)))
(filter even?)))
(meditations
"A sequence operation with only one argument often returns a transducer"
@ -20,7 +20,7 @@
"We can do this eagerly"
(= __
(into [] transforms [1 2 3]))
"Or lazily"
(= __
(sequence transforms [1 2 3]))