Skip to content

Commit

Permalink
updated doc
Browse files Browse the repository at this point in the history
  • Loading branch information
jlangch committed Dec 4, 2024
1 parent 854774e commit 157141e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/readme/transducers.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)))

Expand Down

0 comments on commit 157141e

Please # to comment.