Sergiu Ivanov 2022-10-29 23:13:44 +02:00
parent fabecbe0f9
commit 6dce7583ab

View file

@ -126,7 +126,7 @@
(define colons (collect-colons (syntax->datum stx))) (define colons (collect-colons (syntax->datum stx)))
(define bindings (for/list ([key colons]) (define bindings (for/list ([key colons])
`[,key (hash-ref ,#'ht ',(strip-colon key))])) `[,key (hash-ref ,#'ht ',(strip-colon key))]))
(with-syntax ([bindings-stx (datum->syntax stx bindings)]) (with-syntax ([bindings-stx (datum->syntax #'ht bindings)])
#'(let bindings-stx body))])) #'(let bindings-stx body))]))
(module+ test (module+ test