.
original commit: da1c5010f43784d83f03f570c10636676bc49b3a
This commit is contained in:
parent
a5beec6de2
commit
4744c502e5
|
@ -233,7 +233,14 @@
|
||||||
[(_ name)
|
[(_ name)
|
||||||
(identifier? (syntax name))
|
(identifier? (syntax name))
|
||||||
(let ([sig (get-sig 'signature->symbols stx #f (syntax name))])
|
(let ([sig (get-sig 'signature->symbols stx #f (syntax name))])
|
||||||
(with-syntax ([e (explode-sig sig #f)])
|
(with-syntax ([e (let cleanup ([p (explode-sig sig #f)])
|
||||||
|
;; Strip struct info:
|
||||||
|
(list->vector
|
||||||
|
(map (lambda (i)
|
||||||
|
(if (symbol? i)
|
||||||
|
i
|
||||||
|
(cons (car i) (cleanup (cdr i)))))
|
||||||
|
(vector->list (car p)))))])
|
||||||
(syntax 'e)))])))
|
(syntax 'e)))])))
|
||||||
|
|
||||||
;; Internal:
|
;; Internal:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user