https://issues.dlang.org/show_bug.cgi?id=13522

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from [email protected] ---
I've added my vote.

Once "_" means "ignored" (and it has become a name that can't be read), you can
allow code like this where "_" is used more than once:

foreach (_; 0 .. 5)
    foreach (_; 0 .. 5) {}


foo((a, _, _) => a);


// some kind of tuple destructuring syntax:
@{a, b, _} = myTup; 

Other potentially important usages of the "ignored" value are for pattern
matching "ignored" wild-card.

--

Reply via email to