On 4 October 2017 at 14:24, Alex Blewitt <[email protected]> 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
_______________________________________________ swift-evolution mailing list [email protected] https://lists.swift.org/mailman/listinfo/swift-evolution
