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

Chris Lattner clattner at nondot.org
Tue Nov 21 00:36:02 CST 2017


Hi all,

I’ve significantly revised the ‘dynamic member lookup’ pitch, here’s the second edition:
https://gist.github.com/lattner/b016e1cf86c43732c8d82f90e5ae5438

I’ve incorporated some minor changes to it:
- I’ve made it possible to provide read-only dynamic members.
- I’ve added an example JSON use-case which uses read-only dynamic members.
- Minor wording changes.

That said, this is significantly similar to the earlier draft.  I welcome suggestions for improvements to the proposal, and insight into anything that is unclear or insufficiently motivated.

Thanks!

-Chris




More information about the swift-evolution mailing list