3 ms·
Transducers, in Clojure, are implemented in Clojure, rather than in Java. In jank, the Clojure source for transducers is exactly the same. For example: https://
by Jeaye 2y ago
Transducers, in Clojure, are implemented in Clojure, rather than in Java. In jank, the Clojure source for transducers is exactly the same. For example: https://github.com/jank-lang/jank/blob/a14f4d7c7e8097d5ab5881715d59904adbb5cf1b/compiler%2Bruntime/src/jank/clojure/core.jank#L655 https://github.com/jank-lang/jank/blob/a14f4d7c7e8097d5ab588...
- aeonik 2y agoYou're right, my bad. I was thinking back to when Rich Hickey talked about how he wishes he could go back and bake transducers into the core of Clojure. I can't find the reference right now though. Might be a good Clojure 2.0 thing.