Bit of messing around. WIP.
Prior work:
- CSP — Introduction and paper
- Channels in core.async
- Transducers from Clojure
- David Nolen's core.async webinar
Code that does stuff is in app.js
, the CSP stuff is in channel.js
and there's a library of functions in lib.js
.
Channels
-
close
-
alts
-
timeout
-
dropping-buffer
-
sliding-buffer
-
mult
-
merge
Transducers
-
take
- Extract them to their own library (with tests!)
Other stuff
- Implement lib tail recursively
MIT