From ed489359f3731cecedf257c92ec71cfd7c9f3a38 Mon Sep 17 00:00:00 2001 From: jlangch Date: Wed, 4 Dec 2024 20:36:11 +0100 Subject: [PATCH] updated readme --- doc/readme/transducers.md | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/readme/transducers.md b/doc/readme/transducers.md index 1502596e5..c075e9094 100644 --- a/doc/readme/transducers.md +++ b/doc/readme/transducers.md @@ -24,6 +24,7 @@ Transducer example: (filter odd?) ;; returns a transducer that filters odd values (map #(* 100 %)))) ;; returns a mapping transducer for multiplying values by 100 + ;; apply the transducers (transduce xform conj (range 0 1000))) ; => [100 300 500 700 900 .... 99900]