[swift-evolution] [Pitch] Introduce User-defined "Dynamic Member Lookup" Types

Brent Royal-Gordon brent at architechies.com
Wed Nov 15 23:23:25 CST 2017


> On Nov 15, 2017, at 8:35 PM, Paul Cantrell via swift-evolution <swift-evolution at swift.org> wrote:
> 
> Q: Is there any special handling for that member name string — to handle ruby method names like `blank?`, for example?
> 
> A: This should be the job of a language-specific interop layer.

Swift has the backtick syntax for escaping keywords (`identifier`), but it doesn't allow non-identifier characters to be used in identifiers. We might explore loosening that.

-- 
Brent Royal-Gordon
Architechies

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20171115/fde421a6/attachment.html>


More information about the swift-evolution mailing list