> On 2 Feb 2017, at 20:12, Erica Sadun via swift-users <swift-users@swift.org> 
> wrote:
> 
> I've taken this over to Swift Users from Swift Evolution.
> 
> I think you'd want to handle the exceptional case first,

Although it is the way I would do it for an array, sometimes you don’t know 
that a sequence is empty until after you have iterated it.


_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users

Reply via email to