On Sun, Mar 23, 2014 at 11:17 AM, bearophile <[email protected]> wrote: >> Joseph Rushton Wakeling: >> >>> int r = data[uniform!"[)"(0, data.length)]; > > > D also accepts: > > immutable r = data[uniform!"[)"(0, $)];
Really? The '$' part works?
On Sun, Mar 23, 2014 at 11:17 AM, bearophile <[email protected]> wrote: >> Joseph Rushton Wakeling: >> >>> int r = data[uniform!"[)"(0, data.length)]; > > > D also accepts: > > immutable r = data[uniform!"[)"(0, $)];
Really? The '$' part works?