From 157141e0355a91b88272bd0cb32a3e273ae06e67 Mon Sep 17 00:00:00 2001 From: jlangch Date: Wed, 4 Dec 2024 20:34:47 +0100 Subject: [PATCH] updated doc --- 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 d386f17bf..1502596e5 100644 --- a/doc/readme/transducers.md +++ b/doc/readme/transducers.md @@ -21,8 +21,8 @@ Transducer example: (do (def xform (comp - (filter odd?) ;; returns a transducer that filters odd - (map #(* 100 %)))) ;; returns a mapping transducer for multiplying by 100 + (filter odd?) ;; returns a transducer that filters odd values + (map #(* 100 %)))) ;; returns a mapping transducer for multiplying values by 100 (transduce xform conj (range 0 1000)))