mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-27 14:05:05 +02:00
16 lines
282 B
Scheme
16 lines
282 B
Scheme
;; From:
|
|
;; https://github.com/ashinn/chibi-scheme/issues/298
|
|
(import (scheme base) (scheme write))
|
|
|
|
(define-syntax bar
|
|
(syntax-rules ()
|
|
((_)
|
|
(let-syntax ((foo (syntax-rules () ((_) 'ok))))
|
|
(foo)))))
|
|
|
|
;(define-syntax foo (syntax-rules ()))
|
|
|
|
(write
|
|
(bar)
|
|
)
|
|
;(foo)
|