Functional programming design pattern: Nested Iterators == Flattening
Here's a functional programming design pattern I uncovered. This may not be news to you, but it was a surprise to me. It cropped up when looking at something that needs parallelization to reduced the elapsed run time.
Consider this data collection process.
for h in some_high_level_collection(arg1): for l β¦more ...