Iterator Helpers: Lazy map/filter/take

The goods shed at the end of track 2 makes a wagon only when asked: drop, map, filter and take pull one at a time and close the shed once there are enough…

The key idea

Iterator helpers pull values one at a time, they never build a whole array

Try it in this playground