> Example Usage
> 

Swift is quite flexible on what can act as a closure — would it be allowed to 
use a dynamic callable in that context?
I guess forwarding of

let closure: ([(String, Int)]) -> Int  = DynamicCallableType()

to the dynamicCall method of DynamicCallableType isn’t that hard, but wouldn’t 
it be odd if the value of closure changes when you leave out its type?
_______________________________________________
swift-evolution mailing list
swift-evolution@swift.org
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to