diff options
author | kartofen <mladenovnasko0@gmail.com> | 2024-08-25 17:33:40 +0300 |
---|---|---|
committer | kartofen <mladenovnasko0@gmail.com> | 2024-08-25 17:33:40 +0300 |
commit | de3a062bfc206bf0373f96f4f6cc8c74ffcbab48 (patch) | |
tree | facb0d94172157107a7cb73c82b44bf67d0da1ac /files/test-cons.l | |
parent | c740ece288c3fb6f858a911222fd63caf95c4eea (diff) |
lambda tested and if added
Diffstat (limited to 'files/test-cons.l')
-rw-r--r-- | files/test-cons.l | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/files/test-cons.l b/files/test-cons.l new file mode 100644 index 0000000..7a4de7d --- /dev/null +++ b/files/test-cons.l @@ -0,0 +1,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)) + |