A macro may not require its arguments to be written as a vector, but they provide useful behavior. The most notable example is a quasiquadrat:
;; a couple of test variables (define foo 1) (define bar 2) ;; vector literals in Scheme are implicitly quoted
For another example, see this pattern matching package , which allows vector matching and thus uses vector patterns in its macro definitions (included in the packageโs metadata associated with the page).
Michaล Marczyk
source share