> On Feb 2, 2017, at 8:58 AM, Jonathan Hull via swift-evolution
> <[email protected]> wrote:
>
> Just out of curiosity, what are the use-cases for an infinite sequence (as
> opposed to a sequence which is bounded to the type’s representable values)?
>
> Thanks,
> Jon
Now that drop(while:) and prefix(while:) have dropped, they're a lot nicer than
having to do sequence(first: 1, next: { $0 + 1 })
-- E
_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution