[swift-evolution] [Proposal] Refining Identifier and Operator Symbology
Johannes Neubauer
neubauer at kingsware.de
Tue Oct 25 17:15:11 CDT 2016
> Am 26.10.2016 um 00:08 schrieb Anton Zhilin via swift-evolution <swift-evolution at swift.org>:
>
> Why can't we just remove distinction between operator and identifier symbols? I'd be fine with the following:
>
> ```swift
> infix operator map
> infix func map(lhs: [Int], rhs: (Int) -> Int) { ... }
> [1,2,3] map {$0*2}
> ```
Kotlin allows arbitrary infix functions. Nice feature. +1
More information about the swift-evolution
mailing list