digitalmars.D - Tuple Syntax
- Michelle Long (6/6) Jan 08 2019 Is there any simple tuple syntax?
 - H. S. Teoh (4/7) Jan 08 2019 [...]
 
Is there any simple tuple syntax?
You know, instead of tuple(x,y) just (x,y)?
[a:(b,c), d:(e,f)]
or <x,y> or {a,b} or [n,m]
or if someone came up with another bracket to use. I wouldn't 
mind memorizing some ascii code ◄j,l►.
 Jan 08 2019
On Tue, Jan 08, 2019 at 02:32:35PM +0000, Michelle Long via Digitalmars-d wrote:Is there any simple tuple syntax? You know, instead of tuple(x,y) just (x,y)?[...] This is the subject of Timon's Tuple DIP. It's in the works. --T
 Jan 08 2019








 
 
 
 "H. S. Teoh" <hsteoh quickfur.ath.cx>