How do generators compose? Implement a pipeline of generator-based transformations (like RxJS operators but synchronous).