I don’t think it can. Actually is another reason for RFC: `with ... yield` replacement leave the decision of the DSL-ish on the call-site instead of the implementation might be the way to allow captured blocks in DSL.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| What's making my block a captured block? | 9 | 560 | November 2, 2021 | |
| Can't understand the example code of block yield with self | 5 | 678 | October 31, 2019 | |
| When should I capture blocks? | 4 | 439 | January 25, 2020 | |
| Initialization with `yield` doesn't work | 3 | 439 | January 16, 2019 | |
| Block forwarding and signature inference | 3 | 422 | December 9, 2019 |