core.async

Today at the Clojure Meetup in Düsseldorf, Björn Ebbinghaus presented Clojure’s core.async for us. A very interesting evening! I love core.async!

Here are my notes:

Clojure Meetup

After the talk, I absolutely had to try out working with core.async channels and transducers because I didn’t know that worked!

(defn c (chan 1 (map inc)))

Whenever you put an element in a channel, the transformation in the transducer will be applied to the element before it is retrieved from the channel!

As a bonus, Mario Mainz helped me by giving me a few more tips about how to use spacemacs. I didn’t actually close it immediately!

Clojure Meetup