Gitly
English
Русский
Español
日本語
中文
Português
Log in
Register
vile
/
examples
/
shared
/
main.scm
7
lines
·
7
sloc
·
200 bytes
·
76646891b77a3d5c6af4a1e42b122cd61dc1654b
Raw
1
(define tail (list 2 3))
2
(define rows (list (cons 1 tail) tail))
3
(write rows) (newline)
4
(write-shared rows) (newline)
5
(define ring (vector 'start #f))
6
(vector-set! ring 1 ring)
7
(write ring) (newline)
8