aboutsummaryrefslogtreecommitdiff
path: root/files/test-cons.l
blob: 7a4de7dd59b0002dd67528e206148c5f11f2e681 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
(define a 3)
'(sn ,(+ a 1))

'(1 2 (lol . test) 3 4 ,(+ 1 2) test)
(cons 1 (cons 2 (cons 3 ())))
(car '(1 2 3))
'(1 2 3)
(+ 1 2)
(car (cdr (cdr (cdr '(1 2 3 (4 5) (6 . 7) ,(+ 1 2))))))
'(1 . 2)
(+ 1 2)
'(1 2 3 4)
'(1 . (2 . 3))
'(3 . 2)
'(1 2 3)
'(test . (,(+ 1 2) . 5))