> On Dec 29, 2015, at 10:23 PM, David Waite <[email protected]> 
> wrote:
> 
> I do rather like that, although the thread stalled a week ago which is 
> equivalent to 1 swift-evolution year :-)
> 
> Is the current thinking that ā€œ$ + 3ā€ and its ilk be a literal or computation 
> returning some sort of Offset or Slice value, and SequenceType would define a 
> subscript operation taking a Slice and returning an Element or SubSequence 
> respectively?

Yes, something like that.

> 
> -DW
> 
>> On Dec 29, 2015, at 5:53 PM, Dave Abrahams <[email protected] 
>> <mailto:[email protected]>> wrote:
>> 
>> 
>>> On Dec 28, 2015, at 5:35 PM, David Waite via swift-evolution 
>>> <[email protected] <mailto:[email protected]>> 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
>> 
> 

-Dave

_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to