Describe `cl' syntax class in match.
Closes PR 12657. Merge to 5.3.
This commit is contained in:
parent
d76b0dac78
commit
0b7674cb06
|
@ -10,6 +10,7 @@
|
|||
;; go : syntax syntax syntax -> syntax
|
||||
(define (go/one parse stx expr clauses)
|
||||
(define-syntax-class cl
|
||||
#:description "a clause with a pattern and a result"
|
||||
(pattern [p . rhs]
|
||||
#:with res (syntax/loc this-syntax [(p) . rhs])))
|
||||
(syntax-parse clauses
|
||||
|
|
Loading…
Reference in New Issue
Block a user