> Am 26.10.2016 um 00:08 schrieb Anton Zhilin via swift-evolution 
> <[email protected]>:
> 
> 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


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

Reply via email to