[racket] Pattern matching define macro
On 2014-07-12 16:18:55 -0400, Brian Adkins wrote:
> 1) It's odd to me to specify the l argument, and then never refer to it.
> 2) The syntax of the former seems less "noisy".
I agree that the syntax can be noisy for simple cases.
The design rationale for having the header is to allow optional,
keyword, and rest arguments. Also it lets you avoid using an `and`
pattern to refer to the whole argument.
Just wanted to note that in case you or anyone else was wondering why
the seemingly redundant header is there.
Cheers,
Asumu