[swift-evolution] Proposal: Contiguous Variables (A.K.A. Fixed Sized Array Type)
Joe Groff
jgroff at apple.com
Fri Jan 29 13:13:41 CST 2016
> On Jan 29, 2016, at 11:11 AM, Trent Nadeau <tanadeau at gmail.com> wrote:
>
> The fact that this could be used in expressions is making the N x T syntax grow on me.
>
> (N x T) := (T, T, ...)
> (N x <expr>) := (<expr>, <expr>, ...)
Yeah, and I could definitely see '[a, b, c, 253 x 0]' being useful to initialize dynamic arrays too.
-Joe
More information about the swift-evolution
mailing list