[swift-evolution] About the PermutationGenerator

Susan Cheng susan.doggie at gmail.com
Thu Dec 31 06:01:41 CST 2015

As I know SequenceType should have behaved as immutable structure and it
provides method to get a mutable GeneratorType which generates value from
start of sequence.
But the PermutationGenerator break this rule, every time it changes it's
state, it cannot get the generator with the start of sequence.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20151231/c659c397/attachment-0001.html>

More information about the swift-evolution mailing list