This also can be done now:
let reduced = foos.reduce(Foo(bar: 0), Foo.combine)
Are you suggesting to drop class name? That might make sense, but not
for Swift 3.
That is what I am suggesting. Basically I would like to extend the .foo
shorthand that already works for static members to methods in case the
target type is a function type.
I guess I will bring it up again later after Swift 3 is done.
Kind regards, Manuel
_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution