
4 Oct
2011
4 Oct
'11
9:38 a.m.
George Giorgidze wrote:
This extension could also be used for giving data-parallel array literals instead of the special syntax used currently.
Unfortunately, it couldn't. DPH array literals don't (and can't really) go through lists. In general, if we are going to overload list literals then forcing the desugaring to always go through lists seems wrong to me. There are plenty of data structures where that might result in a significant performance hit. Roman