From d63585ea0d1732265754afc953e8874514383221 Mon Sep 17 00:00:00 2001 From: JackFirth Date: Tue, 9 Dec 2014 22:38:56 -0800 Subject: [PATCH] Utils Add some comments --- stx-utils.rkt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stx-utils.rkt b/stx-utils.rkt index 70582f7..0ba5782 100644 --- a/stx-utils.rkt +++ b/stx-utils.rkt @@ -39,6 +39,8 @@ [() #'()] [a #'a]))) +;; Shorthand for adding new identifiers based on other formatted ones to +;; syntax patterns (define-simple-macro (with-derived-ids ([pat-id:id format base-id-stx] ...) stx-expr) (with-syntax ([pat-id (format-id base-id-stx