Limits another iterator to a fixed number of items.
Produces each item from the original iterator, finishing as soon as n
items have
been produced.
Limits another iterator to a fixed number of items.
Produces each item from the original iterator, finishing as soon as n
items have
been produced.