Closed sirmspencer closed 2 years ago
Hi @sirmspencer ,
The reason is in this way is to separate the required parameters from the optional ones. Unfortunately, this wouldn't be possible without breaking changes.
However, one thing you can do is to write a simple macro in your code which could expand your proposed form into u/trace
form.
For advanced options (ie with :capture), it would be cool if we could add the event name there.
The main reason is to consolidate all of the meta data into one argument, which helps with formatting. We would like to format it more like with-open instead of a function, where the body is indented 2 spaces instead of aligned.