[swift-evolution] About the PermutationGenerator

Erica Sadun erica at ericasadun.com
Thu Dec 31 11:05:50 CST 2015


It does seem that in Swift the concepts of collection, sequence, permutation, stream, etc are a bit muddled.

-- E


> On Dec 31, 2015, at 6:51 AM, Tino Heth via swift-evolution <swift-evolution at swift.org> wrote:
> 
>> Those are collections.  Collections can be iterated over multiple times.
> Speaking of the Fibonacci-numbers:
> Sure we can write an algorithm that iterates over them several times — it just won't ever finish the first iteration ;-)
> (only nitpicking — I just couldn't resist)
> 
> Happy new year!
> _______________________________________________
> swift-evolution mailing list
> swift-evolution at swift.org
> https://lists.swift.org/mailman/listinfo/swift-evolution



More information about the swift-evolution mailing list