Chapter 2, Building Abstractions with Data
Section - 2.2 - Hierarchical Data and the Closure Property
Exercise 2.24
Skipping drawings. :)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
> (list 1 (list 2 (list 3 4)))
(mcons
1
(mcons
(mcons
2
(mcons
(mcons
3
(mcons
4
'()
)
)
'()
)
)
'()
)
)