Thread overview
[Issue 22736] Add destructuring bind for std.typecons.Tuple tuples
Feb 04, 2022
Vladimir Panteleev
Feb 04, 2022
Dlang Bot
Feb 07, 2022
Dlang Bot
Mar 10, 2022
Dlang Bot
February 04, 2022
https://issues.dlang.org/show_bug.cgi?id=22736

--- Comment #1 from Vladimir Panteleev <dlang-bugzilla@thecybershadow.net> ---
Why not just specify the names when constructing the tuple?

-> Sometimes, the tuple is constructed in more than one place. This would require specifying the same names at every construction site.

Why not declare the tuple type ahead of time?

-> The declaration may need to be placed far away from the construction and use sites, such as in long UFCS chains.

--
February 04, 2022
https://issues.dlang.org/show_bug.cgi?id=22736

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> ---
@CyberShadow created dlang/phobos pull request #8372 "[RFC] Fix Issue 22736 - Add destructuring bind for std.typecons.Tuple tuples" fixing this issue:

- Fix Issue 22736 - Add destructuring bind for std.typecons.Tuple tuples

https://github.com/dlang/phobos/pull/8372

--
February 07, 2022
https://issues.dlang.org/show_bug.cgi?id=22736

--- Comment #3 from Dlang Bot <dlang-bot@dlang.rocks> ---
@pbackus created dlang/phobos pull request #8376 "Add std.functional.bind" fixing this issue:

- Add std.functional.bind

  Fixes Issue 22736 - Add destructuring bind for std.typecons.Tuple tuples

https://github.com/dlang/phobos/pull/8376

--
March 10, 2022
https://issues.dlang.org/show_bug.cgi?id=22736

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/phobos pull request #8376 "Add std.functional.bind" was merged into master:

- 9d1aeeca2b0bcc5cf08f7eebd5283466444112ba by Paul Backus:
  Add std.functional.bind

  Fixes Issue 22736 - Add destructuring bind for std.typecons.Tuple tuples

https://github.com/dlang/phobos/pull/8376

--