justinmeiners/lisp-interpreter

print should not crash with data structures with cycles

justinmeiners opened this issue · 1 comments

what do other lisps do?

sbcl appears to loop infinitely

(defparameter *l* '(a b c d))
(setf (cdr (nthcdr 3 *l*)) *l*)
(print *l*)

so its probably ok.