Key Path Expressions as Functions

KeyPath literals are so structured, so inherently tied to static resolution, and so opque after construction that it’s hard to imagine what an ExpressibleByKeyPathLiteral protocol could be used for other than sugaring the wrapping of a KeyPath, which doesn’t seem to justify the protocol. The conversion direction seems the right way to go, especially if we move partially-applied methods to the same \... syntax, which several of us would like to do.

17 Likes