by danidiaz · 11y ago · 0 comments
What would be the pythonic way of "mapping over" the inputs that are sent into a generator, or performing grouping operations on those inputs?
For example, how to transform a generator that expects to be sent sets of strings into a generator that simply accepts a flat stream of strings?