Swift deprecate i++ and c-style for loop

Suliman via Digitalmars-d digitalmars-d at puremagic.com
Wed Feb 24 08:37:04 PST 2016


https://github.com/apple/swift/blob/master/CHANGELOG.md

func slices() {
     var array = ["First", "Second", "Third", "Fourth"]
     array.removeLast()
     array.removeFirst()
}

also look very intuitive. I looked at std.algorithm.mutation and 
did not find anything for this. I see only simple remove option.




More information about the Digitalmars-d mailing list