Skip to main content

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

Find the program that fits your life.

Learn about our coding, cybersecurity, and data analytics bootcamps offered on full-time and part-time schedules.