Skip to main content
    Learn More

    10.27.2022

      transducers-lib.js

      Andrew created this library from scratch as an exercise to learn more about functional programming with transducers -- generalizations of mapping and filtering borrowed from Clojure. Transducers encourage code reuse by allowing users to write a transformation once and apply it to any type of iterable or collection. Transducers-lib aims to offer this benefit while allowing users to apply map, filter, and reduce in a familiar way, returning an immediate result instead of a transducer when needed. Andrew hopes that transducers-lib helps any users to better understand transducers.

      Project Members: Andrew Smith