January 08, 2019 Tuple Syntax | ||||
---|---|---|---|---|
| ||||
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►. |
January 08, 2019 Re: Tuple Syntax | ||||
---|---|---|---|---|
| ||||
Posted in reply to Michelle Long | 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
|
Copyright © 1999-2021 by the D Language Foundation