Remove unused definition and clean up exports.
This commit is contained in:
parent
1c4a6546d0
commit
0552411432
|
@ -2,16 +2,10 @@
|
|||
|
||||
;; from Eli
|
||||
|
||||
(provide (all-defined-out))
|
||||
(provide look-for-in-orig)
|
||||
|
||||
;; -------------------- utilities
|
||||
|
||||
(define (pull-from-syntax stx . locs)
|
||||
(let loop ([stx stx] [locs locs])
|
||||
(if (null? locs)
|
||||
stx
|
||||
(loop (list-ref (syntax->list stx) (car locs)) (cdr locs)))))
|
||||
|
||||
(define (syntax-loc stx) (list (syntax-source stx) (syntax-position stx) (syntax-span stx)))
|
||||
|
||||
;; -------------------- the real stuff
|
||||
|
|
Loading…
Reference in New Issue
Block a user