> On May 18, 2016, at 18:07, plx via swift-evolution > <[email protected]> wrote: > > How hard would it be to e.g. simply allow something like this: > > func ==<T:Equatable>(lhs: T, rhs: T) -> Bool { > return lhs T.== rhs > } > > …instead of the `T.==(lhs,rhs)` syntax?
Yeah, I've been meaning to suggest that. And 'T.++(x)' and '(x)T.++' for prefix and postfix, respectfully. - Dave Sweeris _______________________________________________ swift-evolution mailing list [email protected] https://lists.swift.org/mailman/listinfo/swift-evolution
