let (x,y) = ...

bearophile via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Thu Feb 19 04:48:27 PST 2015


Kagamin:

> Or even more obvious (VBA,TSQL):
>
> set (x,y,z) = [1,2,3];

I prefer to use "set" as in Python, to define sets:

>>> s = set([1, 2, 3])
>>> 2 in s
True

Bye,
bearophile


More information about the Digitalmars-d-announce mailing list