> On 11 Jan 2017, at 14:08, Tuur Anton via swift-evolution > <[email protected]> wrote: > > I often have related variables. Would be nice to just add ' like I can in > Haskell: > > let foo = "asdf" > let foo' = "asdf2" > > What do you think? > > _______________________________________________ > swift-evolution mailing list > [email protected] > https://lists.swift.org/mailman/listinfo/swift-evolution
Ooooh… the mathematician in me would love that. let foo = … let foo’ = … let foo’’ = … let foo’’’ = … But I suspect the additional complexity to the parser isn’t worth it. When are two bars just two bars, and when are they an empty string literal? Karl _______________________________________________ swift-evolution mailing list [email protected] https://lists.swift.org/mailman/listinfo/swift-evolution
