Adding notes

This commit is contained in:
Justin Ethier 2022-05-25 17:42:05 -04:00
parent 43267e2939
commit 460147601f

View file

@ -15,3 +15,13 @@
(define l2 (list l1))
(set-cdr! l1 l2)
(display l1)
; TODO: need to compare pointers to prevent this sort of thing:
;
; cyclone> (display #(1 1 1 1 1 1 1 1))
; #(... ... ... ... ... ... ... ...)
;
; for equalp of pairs we track progress using cdr, cddr
; proves that if pointers are equal we are traversing the same list
;
; how to handle vector traversal?