on Mon Mar 14 2016, Dmitri Gribenko <[email protected]> wrote:
> On Mon, Mar 14, 2016 at 4:42 PM, Haravikk via swift-evolution > <[email protected]> wrote: >> There are quite a lot of generator implementations that also >> implement SequenceType (since it’s as simple as returning >> self). Indeed, the AnyGenerator type conforms to SequenceType, >> allowing any generator to be wrapped as a sequence, though I imagine >> this comes with some overhead. So it got me thinking, why doesn’t >> GeneratorType just require conformance to SequenceType? > > Because of compiler bugs. Ahem: not-yet-implemented features :-). Dave _______________________________________________ swift-evolution mailing list [email protected] https://lists.swift.org/mailman/listinfo/swift-evolution
