|
|
@ -85,7 +85,8 @@
|
|
|
|
[add-id (format-id #'id "add-~a" #'id)]
|
|
|
|
[add-id (format-id #'id "add-~a" #'id)]
|
|
|
|
[flip-id (format-id #'id "flip-~a" #'id)]
|
|
|
|
[flip-id (format-id #'id "flip-~a" #'id)]
|
|
|
|
[id-binding-form (format-id #'id "~a-binding-form" #'id)]
|
|
|
|
[id-binding-form (format-id #'id "~a-binding-form" #'id)]
|
|
|
|
[with-id-syntax (format-id #'id "with-~a-syntax" #'id)]
|
|
|
|
[define-id (format-id #'id "define-~a" #'id)]
|
|
|
|
|
|
|
|
[with-id-identifiers (format-id #'id "with-~a-identifiers" #'id)]
|
|
|
|
[let-id-syntax (format-id #'id "let-~a-syntax" #'id)]
|
|
|
|
[let-id-syntax (format-id #'id "let-~a-syntax" #'id)]
|
|
|
|
[with-id-binding-form (format-id #'id "with-~a-binding-form" #'id)]
|
|
|
|
[with-id-binding-form (format-id #'id "with-~a-binding-form" #'id)]
|
|
|
|
[remove-id (format-id #'id "remove-~a" #'id)]
|
|
|
|
[remove-id (format-id #'id "remove-~a" #'id)]
|
|
|
@ -113,10 +114,10 @@
|
|
|
|
(member (car (context (add-id (datum->syntax #f '_))))
|
|
|
|
(member (car (context (add-id (datum->syntax #f '_))))
|
|
|
|
(context (->syntax x)))
|
|
|
|
(context (->syntax x)))
|
|
|
|
#t))
|
|
|
|
#t))
|
|
|
|
(define-syntax-rule (with-id-syntax ([pat val] (... ...)) . body)
|
|
|
|
(define-syntax-rule (with-id-identifiers (name (... ...)) . body)
|
|
|
|
(with-syntax ([pat (id* val)] (... ...)) . body))
|
|
|
|
(with-syntax ([name (id* 'name)] (... ...)) . body))
|
|
|
|
(define-syntax-rule (with-id-binding-form ([pat val] (... ...)) . body)
|
|
|
|
(define-syntax-rule (with-id-binding-form (name (... ...)) . body)
|
|
|
|
(with-syntax ([pat (id-binding-form val)] (... ...)) . body))
|
|
|
|
(with-syntax ([name (id-binding-form 'name)] (... ...)) . body))
|
|
|
|
(define-syntax-rule (let-id-syntax ([pat val] (... ...)) . body)
|
|
|
|
(define-syntax-rule (let-id-syntax ([pat val] (... ...)) . body)
|
|
|
|
(let-syntax ([pat (id* val)] (... ...)) . body))))]))
|
|
|
|
(let-syntax ([pat (id* val)] (... ...)) . body))))]))
|
|
|
|
|
|
|
|
|
|
|
|