mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-23 20:15:05 +02:00
Adding notes
This commit is contained in:
parent
43267e2939
commit
460147601f
1 changed files with 10 additions and 0 deletions
|
@ -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?
|
||||
|
|
Loading…
Add table
Reference in a new issue