ilya.gorbunov
12/09/2015, 3:17 PMIterable
and Sequence
to determine at compile time whether operations should be performed in eager or lazy fashion: most transforming operations on Iterable
are eager, while on Sequence
they are lazy.
Having Sequence
inheriting from Iterable
might make overload resolution tricky and unpredictable.