[swift-evolution] rename dropFirst() and dropLast()

Dave Abrahams dabrahams at apple.com
Tue Dec 29 18:53:07 CST 2015


> On Dec 28, 2015, at 5:35 PM, David Waite via swift-evolution <swift-evolution at swift.org> wrote:
> 
> If one were to rename dropFirst/dropLast, I’d love for prefix and suffix to be renamed also to better pair with the methods.

I prefer to address this by creating a unified EDSL for describing all of these operations as discussed in this thread: Re: Proposal: Python's indexing and slicing <http://news.gmane.org/find-root.php?message_id=ED492767%2dE1ED%2d41D6%2d90A8%2dBCA9AC6D0F34%40apple.com>

-Dave

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20151229/540b64a4/attachment.html>


More information about the swift-evolution mailing list