[swift-evolution] A path forward on rationalizing unicode identifiers and operators
Mike Kluev
mike.kluev at gmail.com
Wed Oct 4 11:25:32 CDT 2017
On 4 October 2017 at 14:24, Alex Blewitt <alblue at apple.com> wrote:
func &&&(left: Bool, right: @autoclosure () -> Bool) -> Bool {
> return left && right()
> }
>
FTM, it would be nice to be able to "syntax sugar-ize" it into a better
looking:
func &&& (left: Bool, right: lazy Bool) -> Bool {
return left && right // no parens here
}
Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20171004/ef2b8a64/attachment.html>
More information about the swift-evolution
mailing list