[swift-evolution] Reconsidering SE-0003 Removing var from Function Parameters and Pattern Matching

Tino Heth 2th at gmx.de
Sun Jan 31 16:27:16 CST 2016


I would expect that something called "bind" wouldn't have the same meaning as var/let:

bind x = a.property.with.a.long.path
x = 42
// a.property.with.a.long.path == 42 => true

That would actually be useful, especially as there is no obvious way to create references to structs… but renaming var/let does not make sense to me.

Tino


More information about the swift-evolution mailing list