stx-utils: add curly-parens?
This commit is contained in:
parent
723c5bbaec
commit
820d56cf2a
|
@ -6,4 +6,7 @@
|
|||
(define (stx-andmap f . stx-lsts)
|
||||
(apply andmap f (map syntax->list stx-lsts)))
|
||||
(define (stx-flatten stxs)
|
||||
(apply append (stx-map syntax->list stxs)))
|
||||
(apply append (stx-map syntax->list stxs)))
|
||||
(define (curly-parens? stx)
|
||||
(define paren-prop (syntax-property stx 'paren-shape))
|
||||
(and paren-prop (char=? #\{ paren-prop)))
|
Loading…
Reference in New Issue
Block a user