From 9c115996f92a4db4d10a19448676e167cdff52e7 Mon Sep 17 00:00:00 2001 From: Spenser Truex Date: Sun, 27 Oct 2019 18:26:56 -0700 Subject: [PATCH] Fixed whitespace: trailing and indent. --- src/koans/25_threading_macros.clj | 4 ++-- src/koans/26_transducers.clj | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/koans/25_threading_macros.clj b/src/koans/25_threading_macros.clj index ea7c521..8bb630f 100644 --- a/src/koans/25_threading_macros.clj +++ b/src/koans/25_threading_macros.clj @@ -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] diff --git a/src/koans/26_transducers.clj b/src/koans/26_transducers.clj index 8174951..4d8c2bb 100644 --- a/src/koans/26_transducers.clj +++ b/src/koans/26_transducers.clj @@ -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]))