functional-koans / clojure-koans

A set of exercises for learning Clojure
3.74k stars 2.14k forks source link

Add threading macros and simple transducer examples #147

Closed the-frey closed 5 years ago

the-frey commented 5 years ago

This is a small PR to add threading forms (-> and ->>) as they are ubiquitous within Clojure codebases and worth introducing to newcomers early (whether that should be bundled in with the list ops is another question outside of this PR).

I also added a couple of tiny transducer examples so that they're represented as well.

the-frey commented 5 years ago

Thanks for the feedback @trptcolin - will update and get it sorted asap.

the-frey commented 5 years ago

Okay, I've changed that up a little. Thoughts? Still unsure if the transducers example is too in-at-the-deep-end...

trptcolin commented 5 years ago

Great - thanks! 🎉