From 5dc212c708d960580ab5fd285720b42ee65ed8a1 Mon Sep 17 00:00:00 2001 From: rsiddharth Date: Sun, 9 Jun 2019 16:35:15 -0400 Subject: sicp.org: Add Ex. 2.26. --- sicp.org | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/sicp.org b/sicp.org index 539d147..0b9c03d 100644 --- a/sicp.org +++ b/sicp.org @@ -530,3 +530,17 @@ creates a list with the squared numbers in a messy nested list like: (car (cdr (car (cdr (car (cdr (car (cdr (car (cdr (car (cdr three)))))))))))) #+END_SRC +*** 26 +#+BEGIN_SRC scheme +(define x (list 1 2 3)) +(define y (list 4 5 6)) + +(append x y) +'(1 2 3 4 5 6) + +(cons x y) +'((1 2 3) (4 5 6)) + +(list x y) +'((1 2 3) (4 5 6)) +#+END_SRC -- cgit v1.2.3