Racket macro to define functions given a repeated pattern
问题 The problem is quite difficult to explain because I need to collect my thoughts, so bear with me. I've been able to reduce the problem to a minimal example for illustrative purposes. The example will not make any sense as to what this would be useful for, but I digress. Say I want to extend the racket language to write things that look like this: (define-something (['a] 'whatever) (['b 'c] 'whatever2)) Between the square brackets is a sequence of one or more symbols, followed by a sequence of