func join<S : SequenceType where [T] == [T]>(elements: S) -> [T]
This is defined by type Swift.Array, according to Language References - Where Clauses, it must be an identifier after where for same-type-requirement, so it's a syntax-level error, and it's even not right in semantic level, I don't understand why there's a [T] = [T] requirement, anyone knows?
mutating func removeAll(keepCapacity: Bool = default)
On Apr 27, 2015, at 7:33 AM, l̲̅e̲̅x̲̅ c̲̅h̲̅o̲̅u̲̅ <lex...@gmail.com> wrote:I found several undocumented syntax in swift's standard library