Toy Factory Simulation Using core.async (1)
A core.async example
After learning the core.async library in Clojure, I was craving for a real-world example. Now I found one from purelyfunctional.tv. The original code can be found here. The Toy Car Factory Let’s describe how a worker builds a toy car. Take a car body from the part box. Take a wheel from the part box. Take another wheel from the part box. Attach the first wheel to the body. Attach the second wheel to the body.