Is there a shorthand version to destructure maps/structs in function definition

Lol, maybe!

You can check out Exstrcture (+ announcement/updates thread) which is a more recent package that looks quite well thought-out. It uses infix and unary operators and overloads ^ (albeit in a very intuitive way) so it depends on how you feel about that. It’s not something I’ve used myself, I was just impressed with the docs and design.

1 Like