From de3a062bfc206bf0373f96f4f6cc8c74ffcbab48 Mon Sep 17 00:00:00 2001 From: kartofen Date: Sun, 25 Aug 2024 17:33:40 +0300 Subject: lambda tested and if added --- files/test-cons.l | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 files/test-cons.l (limited to 'files/test-cons.l') 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)) + -- cgit v1.2.3