Gauche > Archives > 2026/03/29

2026/03/29 12:35:54 UTCkaki
#
;; SRFI-147 ってこういうのは合法じゃないんでしょうか?
(let-syntax ((foo (syntax-rules ())))
  (let-syntax ((bar foo))
    #f))

;; こっちは通る
(let-syntax ((foo (syntax-rules ())))
  (let-syntax ((bar if))
    #f))
#
"SRFI 147: Custom macro transformers" https://srfi.schemers.org/srfi-147/srfi-147.html
2026/03/29 14:14:05 UTCshiro
#
バグですね
#
https://github.com/shirok/Gauche/issues/1249
2026/03/29 15:56:16 UTCshiro
#
ケースの見落としでした。fixed