Skip to content

Commit

Permalink
Fixed whitespace: trailing and indent.
Browse files Browse the repository at this point in the history
  • Loading branch information
equwal authored and trptcolin committed Oct 28, 2019
1 parent 3afe01a commit 9c11599
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/koans/25_threading_macros.clj
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
4 changes: 2 additions & 2 deletions src/koans/26_transducers.clj
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -20,7 +20,7 @@
"We can do this eagerly"
(= __
(into [] transforms [1 2 3]))

"Or lazily"
(= __
(sequence transforms [1 2 3]))
Expand Down

0 comments on commit 9c11599

Please sign in to comment.