I’ve just implemented a destructuring assignment macro. If people like it and help improve it maybe one day I’ll put together a PR to Julia to make it part of the language without the need to use a macro.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| How to use destructuring assignment with macro? | 10 | 1464 | November 29, 2017 | |
| Assigning inside a macro, and proper way to create this expr | 4 | 541 | June 18, 2018 | |
| Looking for good macro examples | 11 | 4592 | November 21, 2016 | |
| Namedtuple destructuring in macro fails roughly due to macro hygiene (since gensym goes eagerly) | 2 | 350 | September 8, 2022 | |
| ANN: new package Reconstructables.jl for easier "modifications" of immutable structs | 0 | 1007 | February 19, 2018 |