Imho it’s good to copy the concept of capture lists — but it could be done 
differently, without polluting the body:
func foo[capture list](parameters) {}
I’m not sure if there are corner cases with subscript-syntax, but in general, I 
think this approach is nicer.

- Tino
_______________________________________________
swift-evolution mailing list
swift-evolution@swift.org
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to