Why the caracter #\> was printed in REPL???
Suggestions?
Sinceraly, Carlos
I coded the following code: (test.lisp)
(defun print-tag (name alst closingp)
(princ #\<)
(when closingp
(princ #\/))
(princ (string-downcase name))
(mapc (lambda (att)
(format t " ~a=\"~a\"" (string-downcase (car att)) (cdr att)))
alst)
(princ '#\>))
But I noted a following output:
CL-USER> (load (compile-file "test.lisp"))
CL-USER> (print-tag 'mytag '((color . blue) (height . 9)) nil)
<mytag color="BLUE" height="9">
#\>
*note* The last line has string "#\>" uneexpected... what is happenng?
Suggestions?
Sinceraly, Carlos