[swift-evolution] removeFirst, optional equiviliant

James Campbell james at supmenow.com
Wed Jan 6 11:36:05 CST 2016

If you call removeFirst and the array is empty it would be great if it was
optional so it could return nil or at least it threw an error so you could
handle that case.

 Wizard
james at supmenow.com
+44 7523 279 698
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160106/38efed97/attachment.html>

More information about the swift-evolution mailing list