From 854774e5808d346687933c1f61795d76100c62af Mon Sep 17 00:00:00 2001 From: jlangch Date: Wed, 4 Dec 2024 20:34:10 +0100 Subject: [PATCH] updated readme --- doc/readme/transducers.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/readme/transducers.md b/doc/readme/transducers.md index 30ec30bbe..d386f17bf 100644 --- a/doc/readme/transducers.md +++ b/doc/readme/transducers.md @@ -21,8 +21,8 @@ Transducer example: (do (def xform (comp - (filter odd?) - (map #(* 100 %)))) + (filter odd?) ;; returns a transducer that filters odd + (map #(* 100 %)))) ;; returns a mapping transducer for multiplying by 100 (transduce xform conj (range 0 1000)))