From 951a43ccd7abd72e3243da541b151206f8651eaa Mon Sep 17 00:00:00 2001 From: Kenneth Kostresevic Date: Thu, 16 Dec 2021 16:20:08 +0100 Subject: [PATCH] Use identity --- src/koans/11_lazy_sequences.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/koans/11_lazy_sequences.clj b/src/koans/11_lazy_sequences.clj index a9c9742..7cb6aa9 100644 --- a/src/koans/11_lazy_sequences.clj +++ b/src/koans/11_lazy_sequences.clj @@ -25,4 +25,4 @@ "Iteration can be used for repetition" (= (repeat 100 "hello") - (take 100 (iterate (fn [x] x) "hello")))) + (take 100 (iterate identity "hello"))))