Tuple assignment

Russel Winder via Digitalmars-d digitalmars-d at puremagic.com
Sun May 10 01:28:08 PDT 2015


On Sun, 2015-05-10 at 08:14 +0000, Oren Tirosh via Digitalmars-d wrote:
> On Saturday, 9 May 2015 at 17:16:58 UTC, Russel Winder wrote:
> > 
[…]
> >         TypeTuple!(current, next) = tuple(next , current +next);

This works.

> This works right now and is quite aesthetically pleasing:
> 
>      tuple(current, next) = tuple(next , current +next);

This does not. At least the tests fail with this where they do not
with the previous.

> […]
-- 
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder at ekiga.net
41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel at winder.org.uk
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20150510/b2fd3962/attachment.sig>


More information about the Digitalmars-d mailing list