Using Generators as syntax sugar for side effects
Too Long; Didn't Read
This story shows Generators as an explicit but seamless syntax for programs with asynchronous operations, shared mutable state and other side effects. The conversion is based on so-called Monads.