LoginSignup
1
1

More than 5 years have passed since last update.

tagbodyの中のマクロが展開されてシンボルになっても、タグにはならない。

Posted at
(macrolet ((my () :tag))
  (let ((x '(1 2 3)))
    (tagbody
       (my)
       (when x
         (print (pop x))
         (go :tag)))))
; --> 
; in: MACROLET ((MY NIL :TAG))
;     (GO :TAG)
; 
; caught ERROR:
;   attempt to GO to nonexistent tag: :TAG
; 
; compilation unit finished
;   caught 1 ERROR condition
1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1