home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 9 / 09.iso / e / e070 / 6.ddi / EXPLORER / SLIDES / CONS-II.TF < prev    next >
Unknown  |  1984-10-20  |  7.4 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
66% dexvert Follin Player Module (music/follinPlayer) ext Supported
100% file data default
100% gt2 Kopftext: 'FASL FILE default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 46 41 53 4c 20 46 49 4c | 45 0d 0a 43 6f 70 79 72 |FASL FIL|E..Copyr|
|00000010| 69 67 68 74 20 28 63 29 | 20 31 39 38 34 20 53 61 |ight (c)| 1984 Sa|
|00000020| 6e 20 4d 61 72 63 6f 20 | 41 73 73 6f 63 69 61 74 |n Marco |Associat|
|00000030| 65 73 0d 0a 09 41 6c 6c | 20 72 69 67 68 74 73 20 |es...All| rights |
|00000040| 72 65 73 65 72 76 65 64 | 2e 0d 0a 1a ff 07 04 55 |reserved|.......U|
|00000050| 53 45 52 0e 0d 00 00 00 | 00 07 04 4c 49 53 50 0e |SER.....|...LISP.|
|00000060| 0b 01 04 53 45 54 46 07 | 0a 47 45 54 2d 4c 45 53 |...SETF.|.GET-LES|
|00000070| 53 4f 4e 0b 01 05 51 55 | 4f 54 45 07 07 43 4f 4e |SON...QU|OTE..CON|
|00000080| 53 2d 49 49 04 10 02 04 | 10 02 0b 01 05 51 55 4f |S-II....|.....QUO|
|00000090| 54 45 07 06 4c 45 53 53 | 4f 4e 07 07 43 4f 4e 53 |TE..LESS|ON..CONS|
|000000a0| 2d 49 49 0b 01 04 4e 41 | 4d 45 07 07 43 4f 4e 53 |-II...NA|ME..CONS|
|000000b0| 2d 49 49 04 10 01 07 04 | 4e 45 58 54 07 09 54 4f |-II.....|NEXT..TO|
|000000c0| 2d 41 53 53 49 47 4e 04 | 10 01 07 08 50 52 45 56 |-ASSIGN.|....PREV|
|000000d0| 49 4f 55 53 07 06 43 4f | 4e 53 2d 49 04 10 01 07 |IOUS..CO|NS-I....|
|000000e0| 0b 4c 45 53 53 4f 4e 2d | 4e 41 4d 45 26 16 4d 6f |.LESSON-|NAME&.Mo|
|000000f0| 72 65 20 4c 69 73 74 20 | 43 6f 6e 73 74 72 75 63 |re List |Construc|
|00000100| 74 6f 72 73 04 10 01 04 | 10 08 07 05 53 4c 49 44 |tors....|....SLID|
|00000110| 45 07 0a 45 58 50 4f 53 | 49 54 49 4f 4e 23 01 00 |E..EXPOS|ITION#..|
|00000120| 00 00 04 07 0a 45 58 50 | 4f 53 49 54 49 4f 4e 26 |.....EXP|OSITION&|
|00000130| d4 0a 59 6f 75 20 6e 6f | 77 20 6b 6e 6f 77 20 61 |..You no|w know a|
|00000140| 62 6f 75 74 20 74 68 65 | 20 63 6f 6e 73 74 72 75 |bout the| constru|
|00000150| 63 74 6f 72 73 20 43 4f | 4e 53 20 61 6e 64 20 4c |ctors CO|NS and L|
|00000160| 49 53 54 2e 00 02 48 65 | 72 65 20 74 77 6f 20 6d |IST...He|re two m|
|00000170| 6f 72 65 0a 69 6d 70 6f | 72 74 61 6e 74 20 6f 6e |ore.impo|rtant on|
|00000180| 65 73 3a 0a 0a 4e 61 6d | 65 20 6f 66 20 63 6f 6e |es:..Nam|e of con|
|00000190| 73 74 72 75 63 74 6f 72 | 00 04 50 75 72 70 6f 73 |structor|..Purpos|
|000001a0| 65 0a 0a 41 50 50 45 4e | 44 00 11 43 6f 6d 62 69 |e..APPEN|D..Combi|
|000001b0| 6e 65 20 74 77 6f 20 6f | 72 20 6d 6f 72 65 20 6c |ne two o|r more l|
|000001c0| 69 73 74 73 20 69 6e 74 | 6f 20 6f 6e 65 2e 0a 52 |ists int|o one..R|
|000001d0| 45 56 45 52 53 45 00 10 | 4d 61 6b 65 20 61 20 6c |EVERSE..|Make a l|
|000001e0| 69 73 74 2c 20 72 65 76 | 65 72 73 65 64 2c 20 66 |ist, rev|ersed, f|
|000001f0| 72 6f 6d 20 61 6e 20 65 | 78 69 73 74 69 6e 67 20 |rom an e|xisting |
|00000200| 6f 6e 65 2e 0a 23 09 00 | 00 00 10 01 04 27 03 00 |one..#..|.....'..|
|00000210| 00 00 2e 27 05 00 00 00 | 2e 07 05 53 4c 49 44 45 |...'....|...SLIDE|
|00000220| 07 0a 45 58 50 4f 53 49 | 54 49 4f 4e 23 02 00 00 |..EXPOSI|TION#...|
|00000230| 00 04 07 0a 45 58 50 4f | 53 49 54 49 4f 4e 25 b1 |....EXPO|SITION%.|
|00000240| 01 00 00 0a 41 50 50 45 | 4e 44 20 72 75 6e 73 20 |....APPE|ND runs |
|00000250| 69 74 73 20 61 72 67 75 | 6d 65 6e 74 73 20 74 6f |its argu|ments to|
|00000260| 67 65 74 68 65 72 20 69 | 6e 74 6f 20 6f 6e 65 20 |gether i|nto one |
|00000270| 6c 69 73 74 2e 00 02 48 | 65 72 65 20 69 73 20 61 |list...H|ere is a|
|00000280| 6e 0a 65 78 61 6d 70 6c | 65 3a 0a 0a 2a 20 28 41 |n.exampl|e:..* (A|
|00000290| 50 50 45 4e 44 20 27 28 | 41 00 02 42 00 02 43 29 |PPEND '(|A..B..C)|
|000002a0| 20 27 28 58 00 02 59 00 | 02 5a 29 29 0a 00 0c b3 | '(X..Y.|.Z))....|
|000002b0| 00 02 b3 00 02 b3 00 04 | b3 00 02 b3 00 02 b3 0a |........|........|
|000002c0| 00 0c b3 00 02 b3 00 02 | b3 00 04 b3 00 02 b3 00 |........|........|
|000002d0| 02 b3 0a 00 0c b3 00 02 | b3 00 02 b3 00 04 b3 00 |........|........|
|000002e0| 02 b3 00 02 b3 0a 00 0c | 1f 00 02 1f 00 02 1f 00 |........|........|
|000002f0| 04 1f 00 02 1f 00 02 1f | 0a 00 0b 28 41 00 02 42 |........|...(A..B|
|00000300| 00 02 43 00 04 58 00 02 | 59 00 02 5a 29 0a 0a 43 |..C..X..|Y..Z)..C|
|00000310| 6f 6d 70 61 72 65 20 74 | 68 65 20 72 65 73 75 6c |ompare t|he resul|
|00000320| 74 20 77 69 74 68 20 77 | 68 61 74 20 79 6f 75 20 |t with w|hat you |
|00000330| 77 6f 75 6c 64 20 67 65 | 74 20 77 69 74 68 20 43 |would ge|t with C|
|00000340| 4f 4e 53 3a 0a 0a 2a 20 | 28 43 4f 4e 53 20 27 28 |ONS:..* |(CONS '(|
|00000350| 41 20 42 20 43 29 20 27 | 28 58 20 59 20 5a 29 29 |A B C) '|(X Y Z))|
|00000360| 0a 28 28 41 20 42 20 43 | 29 20 58 20 59 20 5a 29 |.((A B C|) X Y Z)|
|00000370| 0a 0a 6f 00 04 41 50 50 | 45 4e 44 20 6d 61 6b 65 |..o..APP|END make|
|00000380| 73 20 61 20 6c 69 73 74 | 20 6f 75 74 20 6f 66 20 |s a list| out of |
|00000390| 61 6c 6c 20 74 68 65 20 | 65 6c 65 6d 65 6e 74 73 |all the |elements|
|000003a0| 20 69 6e 20 69 74 73 20 | 61 72 67 75 6d 65 6e 74 | in its |argument|
|000003b0| 73 2e 0a 0a 6f 00 04 43 | 4f 4e 53 20 61 64 64 73 |s...o..C|ONS adds|
|000003c0| 20 69 74 73 20 66 69 72 | 73 74 20 61 72 67 75 6d | its fir|st argum|
|000003d0| 65 6e 74 20 74 6f 20 69 | 74 73 20 73 65 63 6f 6e |ent to i|ts secon|
|000003e0| 64 20 61 72 67 75 6d 65 | 6e 74 2c 20 61 20 6c 69 |d argume|nt, a li|
|000003f0| 73 74 2e 0a 23 14 00 00 | 00 10 01 04 27 03 00 00 |st..#...|....'...|
|00000400| 00 2e 27 05 00 00 00 2e | 07 05 53 4c 49 44 45 07 |..'.....|..SLIDE.|
|00000410| 0a 45 58 50 4f 53 49 54 | 49 4f 4e 23 03 00 00 00 |.EXPOSIT|ION#....|
|00000420| 04 07 0a 45 58 50 4f 53 | 49 54 49 4f 4e 26 d1 0a |...EXPOS|ITION&..|
|00000430| 4c 65 74 27 73 20 6c 6f | 6f 6b 20 61 74 20 6f 74 |Let's lo|ok at ot|
|00000440| 68 65 72 20 65 78 61 6d | 70 6c 65 73 2e 00 02 41 |her exam|ples...A|
|00000450| 73 73 75 6d 69 6e 67 20 | 4c 27 73 20 76 61 6c 75 |ssuming |L's valu|
|00000460| 65 20 69 73 20 28 41 20 | 42 29 20 61 6e 64 0a 4f |e is (A |B) and.O|
|00000470| 27 73 20 76 61 6c 75 65 | 20 69 73 20 28 58 20 59 |'s value| is (X Y|
|00000480| 29 2c 20 74 68 65 6e 3a | 0a 0a 00 1c da c4 c4 c4 |), then:|........|
|00000490| c4 c4 c4 c4 c4 c4 c4 c4 | c4 c4 c4 c4 c4 c4 bf 0a |........|........|
|000004a0| 00 1c b3 00 11 b3 0a 2a | 20 28 41 50 50 45 4e 44 |.......*| (APPEND|
|000004b0| 20 4c 20 4f 29 00 0e b3 | 00 11 1f 0a 28 41 20 42 | L O)...|....(A B|
|000004c0| 20 58 20 59 29 00 11 28 | 41 20 42 29 00 04 28 58 | X Y)..(|A B)..(X|
|000004d0| 20 59 29 00 04 28 41 20 | 42 00 02 58 20 59 29 0a | Y)..(A |B..X Y).|
|000004e0| 00 25 b3 00 0d 1e 0a 00 | 25 b3 00 0d b3 0a 00 25 |.%......|%......%|
|000004f0| c0 c4 c4 c4 c4 c4 c4 c4 | c4 c4 c4 c4 c4 c4 d9 0a |........|........|
|00000500| 23 0c 00 00 00 10 01 04 | 27 03 00 00 00 2e 27 05 |#.......|'.....'.|
|00000510| 00 00 00 2e 07 05 53 4c | 49 44 45 07 08 45 58 41 |......SL|IDE..EXA|
|00000520| 4d 50 4c 45 53 23 04 00 | 00 00 04 07 0d 45 58 41 |MPLES#..|.....EXA|
|00000530| 4d 50 4c 45 2d 47 52 4f | 55 50 26 19 45 76 61 6c |MPLE-GRO|UP&.Eval|
|00000540| 75 61 74 65 20 74 68 65 | 20 67 69 76 65 6e 20 66 |uate the| given f|
|00000550| 6f 72 6d 73 2e 23 01 00 | 00 00 10 01 26 15 2a 20 |orms.#..|....&.* |
|00000560| 28 43 4f 4e 53 20 27 28 | 41 20 42 20 43 29 20 27 |(CONS '(|A B C) '|
|00000570| 28 29 29 23 01 00 00 00 | 10 01 26 09 28 28 41 20 |())#....|..&.((A |
|00000580| 42 20 43 29 29 23 01 00 | 00 00 10 01 27 04 00 00 |B C))#..|....'...|
|00000590| 00 2e 07 0d 45 58 41 4d | 50 4c 45 2d 47 52 4f 55 |....EXAM|PLE-GROU|
|000005a0| 50 04 26 17 2a 20 28 41 | 50 50 45 4e 44 20 27 28 |P.&.* (A|PPEND '(|
|000005b0| 41 20 42 20 43 29 20 27 | 28 29 29 23 01 00 00 00 |A B C) '|())#....|
|000005c0| 10 01 26 07 28 41 20 42 | 20 43 29 23 01 00 00 00 |..&.(A B| C)#....|
|000005d0| 10 01 27 04 00 00 00 2e | 07 0d 45 58 41 4d 50 4c |..'.....|..EXAMPL|
|000005e0| 45 2d 47 52 4f 55 50 04 | 26 15 2a 20 28 4c 49 53 |E-GROUP.|&.* (LIS|
|000005f0| 54 20 27 28 41 20 42 20 | 43 29 20 27 28 29 29 23 |T '(A B |C) '())#|
|00000600| 01 00 00 00 10 01 26 76 | 28 28 41 20 42 20 43 29 |......&v|((A B C)|
|00000610| 20 28 29 29 00 08 3b 41 | 63 74 75 61 6c 6c 79 2c | ())..;A|ctually,|
|00000620| 20 69 66 20 79 6f 75 20 | 74 72 79 20 74 68 69 73 | if you |try this|
|00000630| 20 69 6e 20 4c 49 53 50 | 2c 0a 00 14 3b 79 6f 75 | in LISP|,...;you|
|00000640| 20 77 69 6c 6c 20 67 65 | 74 20 28 28 41 20 42 20 | will ge|t ((A B |
|00000650| 43 29 20 4e 49 4c 29 20 | 62 65 63 61 75 73 65 0a |C) NIL) |because.|
|00000660| 00 14 3b 28 29 20 61 6e | 64 20 4e 49 4c 20 61 72 |..;() an|d NIL ar|
|00000670| 65 20 65 71 75 69 76 61 | 6c 65 6e 74 2e 0a 23 04 |e equiva|lent..#.|
|00000680| 00 00 00 10 01 27 04 00 | 00 00 2e 04 10 03 27 05 |.....'..|......'.|
|00000690| 00 00 00 2e 07 05 53 4c | 49 44 45 07 08 45 58 41 |......SL|IDE..EXA|
|000006a0| 4d 50 4c 45 53 23 05 00 | 00 00 04 07 0d 45 58 41 |MPLES#..|.....EXA|
|000006b0| 4d 50 4c 45 2d 47 52 4f | 55 50 26 39 41 73 73 75 |MPLE-GRO|UP&9Assu|
|000006c0| 6d 65 20 4c 27 73 20 76 | 61 6c 75 65 20 69 73 20 |me L's v|alue is |
|000006d0| 28 41 20 42 20 43 29 3b | 20 61 73 73 75 6d 65 20 |(A B C);| assume |
|000006e0| 4d 27 73 20 76 61 6c 75 | 65 20 69 73 20 28 58 20 |M's valu|e is (X |
|000006f0| 59 20 5a 29 2e 23 01 00 | 00 00 10 01 26 0c 2a 20 |Y Z).#..|....&.* |
|00000700| 28 4c 49 53 54 20 4c 20 | 4d 29 23 01 00 00 00 10 |(LIST L |M)#.....|
|00000710| 01 26 11 28 28 41 20 42 | 20 43 29 20 28 58 20 59 |.&.((A B| C) (X Y|
|00000720| 20 5a 29 29 23 01 00 00 | 00 10 01 27 04 00 00 00 | Z))#...|...'....|
|00000730| 2e 07 0d 45 58 41 4d 50 | 4c 45 2d 47 52 4f 55 50 |...EXAMP|LE-GROUP|
|00000740| 04 26 0e 2a 20 28 4c 49 | 53 54 20 27 4c 20 27 4d |.&.* (LI|ST 'L 'M|
|00000750| 29 23 01 00 00 00 10 01 | 26 05 28 4c 20 4d 29 23 |)#......|&.(L M)#|
|00000760| 01 00 00 00 10 01 27 04 | 00 00 00 2e 07 0d 45 58 |......'.|......EX|
|00000770| 41 4d 50 4c 45 2d 47 52 | 4f 55 50 04 26 0d 2a 20 |AMPLE-GR|OUP.&.* |
|00000780| 28 4c 49 53 54 20 27 4c | 20 4d 29 23 01 00 00 00 |(LIST 'L| M)#....|
|00000790| 10 01 26 0b 28 4c 20 28 | 58 20 59 20 5a 29 29 23 |..&.(L (|X Y Z))#|
|000007a0| 01 00 00 00 10 01 27 04 | 00 00 00 2e 07 0d 45 58 |......'.|......EX|
|000007b0| 41 4d 50 4c 45 2d 47 52 | 4f 55 50 04 26 0d 2a 20 |AMPLE-GR|OUP.&.* |
|000007c0| 28 4c 49 53 54 20 4c 20 | 27 4d 29 23 01 00 00 00 |(LIST L |'M)#....|
|000007d0| 10 01 26 0b 28 28 41 20 | 42 20 43 29 20 4d 29 23 |..&.((A |B C) M)#|
|000007e0| 01 00 00 00 10 01 27 04 | 00 00 00 2e 07 0d 45 58 |......'.|......EX|
|000007f0| 41 4d 50 4c 45 2d 47 52 | 4f 55 50 04 26 0e 2a 20 |AMPLE-GR|OUP.&.* |
|00000800| 28 41 50 50 45 4e 44 20 | 4c 20 4d 29 23 01 00 00 |(APPEND |L M)#...|
|00000810| 00 10 01 26 0d 28 41 20 | 42 20 43 20 58 20 59 20 |...&.(A |B C X Y |
|00000820| 5a 29 23 01 00 00 00 10 | 01 27 04 00 00 00 2e 07 |Z)#.....|.'......|
|00000830| 0d 45 58 41 4d 50 4c 45 | 2d 47 52 4f 55 50 04 26 |.EXAMPLE|-GROUP.&|
|00000840| 1e 2a 20 28 4c 49 53 54 | 20 28 4c 49 53 54 20 4c |.* (LIST| (LIST L|
|00000850| 20 4d 29 20 28 4c 49 53 | 54 20 4c 20 4d 29 29 23 | M) (LIS|T L M))#|
|00000860| 01 00 00 00 10 01 26 25 | 28 28 28 41 20 42 20 43 |......&%|(((A B C|
|00000870| 29 20 28 58 20 59 20 5a | 29 29 20 28 28 41 20 42 |) (X Y Z|)) ((A B|
|00000880| 20 43 29 20 28 58 20 59 | 20 5a 29 29 29 23 01 00 | C) (X Y| Z)))#..|
|00000890| 00 00 10 01 27 04 00 00 | 00 2e 07 0d 45 58 41 4d |....'...|....EXAM|
|000008a0| 50 4c 45 2d 47 52 4f 55 | 50 04 26 20 2a 20 28 41 |PLE-GROU|P.& * (A|
|000008b0| 50 50 45 4e 44 20 28 4c | 49 53 54 20 4c 20 4d 29 |PPEND (L|IST L M)|
|000008c0| 20 28 4c 49 53 54 20 4c | 20 4d 29 29 23 01 00 00 | (LIST L| M))#...|
|000008d0| 00 10 01 26 22 28 28 41 | 20 42 20 43 29 20 28 58 |...&"((A| B C) (X|
|000008e0| 20 59 20 5a 29 20 28 41 | 20 42 20 43 29 20 28 58 | Y Z) (A| B C) (X|
|000008f0| 20 59 20 5a 29 29 0a 23 | 02 00 00 00 10 01 27 04 | Y Z)).#|......'.|
|00000900| 00 00 00 2e 04 10 07 27 | 05 00 00 00 2e 07 05 53 |.......'|.......S|
|00000910| 4c 49 44 45 07 08 45 58 | 41 4d 50 4c 45 53 23 06 |LIDE..EX|AMPLES#.|
|00000920| 00 00 00 04 07 0d 45 58 | 41 4d 50 4c 45 2d 47 52 |......EX|AMPLE-GR|
|00000930| 4f 55 50 26 19 45 76 61 | 6c 75 61 74 65 20 74 68 |OUP&.Eva|luate th|
|00000940| 65 20 67 69 76 65 6e 20 | 66 6f 72 6d 73 2e 23 01 |e given |forms.#.|
|00000950| 00 00 00 10 01 26 0b 2a | 20 28 4c 49 53 54 20 27 |.....&.*| (LIST '|
|00000960| 41 29 23 01 00 00 00 10 | 01 26 03 28 41 29 23 01 |A)#.....|.&.(A)#.|
|00000970| 00 00 00 10 01 27 04 00 | 00 00 2e 07 0d 45 58 41 |.....'..|.....EXA|
|00000980| 4d 50 4c 45 2d 47 52 4f | 55 50 04 26 0f 2a 20 28 |MPLE-GRO|UP.&.* (|
|00000990| 43 4f 4e 53 20 27 41 20 | 27 28 29 29 23 01 00 00 |CONS 'A |'())#...|
|000009a0| 00 10 01 26 03 28 41 29 | 23 01 00 00 00 10 01 27 |...&.(A)|#......'|
|000009b0| 04 00 00 00 2e 07 0d 45 | 58 41 4d 50 4c 45 2d 47 |.......E|XAMPLE-G|
|000009c0| 52 4f 55 50 04 26 13 2a | 20 28 41 50 50 45 4e 44 |ROUP.&.*| (APPEND|
|000009d0| 20 27 28 41 29 20 27 28 | 29 29 23 01 00 00 00 10 | '(A) '(|))#.....|
|000009e0| 01 26 03 28 41 29 23 01 | 00 00 00 10 01 27 04 00 |.&.(A)#.|.....'..|
|000009f0| 00 00 2e 04 10 03 27 05 | 00 00 00 2e 07 05 53 4c |......'.|......SL|
|00000a00| 49 44 45 07 08 45 58 41 | 4d 50 4c 45 53 23 07 00 |IDE..EXA|MPLES#..|
|00000a10| 00 00 04 07 0d 45 58 41 | 4d 50 4c 45 2d 47 52 4f |.....EXA|MPLE-GRO|
|00000a20| 55 50 26 2b 4e 6f 77 20 | 6c 65 74 27 73 20 65 73 |UP&+Now |let's es|
|00000a30| 74 61 62 6c 69 73 68 20 | 6e 65 77 20 76 61 6c 75 |tablish |new valu|
|00000a40| 65 73 20 66 6f 72 20 4c | 20 61 6e 64 20 4d 2e 23 |es for L| and M.#|
|00000a50| 01 00 00 00 10 01 26 2d | 2a 20 28 53 45 54 46 20 |......&-|* (SETF |
|00000a60| 4d 20 28 43 4f 4e 53 20 | 27 54 48 49 53 20 28 53 |M (CONS |'THIS (S|
|00000a70| 45 54 46 20 4c 20 27 28 | 49 53 20 41 20 4c 49 53 |ETF L '(|IS A LIS|
|00000a80| 54 29 29 29 29 23 01 00 | 00 00 10 01 26 10 28 54 |T))))#..|....&.(T|
|00000a90| 48 49 53 20 49 53 20 41 | 20 4c 49 53 54 29 23 01 |HIS IS A| LIST)#.|
|00000aa0| 00 00 00 10 01 27 04 00 | 00 00 2e 07 0d 45 58 41 |.....'..|.....EXA|
|00000ab0| 4d 50 4c 45 2d 47 52 4f | 55 50 04 26 03 2a 20 4c |MPLE-GRO|UP.&.* L|
|00000ac0| 23 01 00 00 00 10 01 26 | 0b 28 49 53 20 41 20 4c |#......&|.(IS A L|
|00000ad0| 49 53 54 29 23 01 00 00 | 00 10 01 27 04 00 00 00 |IST)#...|...'....|
|00000ae0| 2e 07 0d 45 58 41 4d 50 | 4c 45 2d 47 52 4f 55 50 |...EXAMP|LE-GROUP|
|00000af0| 04 26 03 2a 20 4d 23 01 | 00 00 00 10 01 26 10 28 |.&.* M#.|.....&.(|
|00000b00| 54 48 49 53 20 49 53 20 | 41 20 4c 49 53 54 29 23 |THIS IS |A LIST)#|
|00000b10| 01 00 00 00 10 01 27 04 | 00 00 00 2e 07 0d 45 58 |......'.|......EX|
|00000b20| 41 4d 50 4c 45 2d 47 52 | 4f 55 50 04 26 0c 2a 20 |AMPLE-GR|OUP.&.* |
|00000b30| 28 43 4f 4e 53 20 4c 20 | 4c 29 23 01 00 00 00 10 |(CONS L |L)#.....|
|00000b40| 01 26 17 28 28 49 53 20 | 41 20 4c 49 53 54 29 20 |.&.((IS |A LIST) |
|00000b50| 49 53 20 41 20 4c 49 53 | 54 29 23 01 00 00 00 10 |IS A LIS|T)#.....|
|00000b60| 01 27 04 00 00 00 2e 07 | 0d 45 58 41 4d 50 4c 45 |.'......|.EXAMPLE|
|00000b70| 2d 47 52 4f 55 50 04 26 | 0c 2a 20 28 4c 49 53 54 |-GROUP.&|.* (LIST|
|00000b80| 20 4c 20 4c 29 23 01 00 | 00 00 10 01 26 19 28 28 | L L)#..|....&.((|
|00000b90| 49 53 20 41 20 4c 49 53 | 54 29 20 28 49 53 20 41 |IS A LIS|T) (IS A|
|00000ba0| 20 4c 49 53 54 29 29 23 | 01 00 00 00 10 01 27 04 | LIST))#|......'.|
|00000bb0| 00 00 00 2e 07 0d 45 58 | 41 4d 50 4c 45 2d 47 52 |......EX|AMPLE-GR|
|00000bc0| 4f 55 50 04 26 0e 2a 20 | 28 41 50 50 45 4e 44 20 |OUP.&.* |(APPEND |
|00000bd0| 4c 20 4c 29 23 01 00 00 | 00 10 01 26 16 28 49 53 |L L)#...|...&.(IS|
|00000be0| 20 41 20 4c 49 53 54 20 | 49 53 20 41 20 4c 49 53 | A LIST |IS A LIS|
|00000bf0| 54 29 0a 23 02 00 00 00 | 10 01 27 04 00 00 00 2e |T).#....|..'.....|
|00000c00| 04 10 06 27 05 00 00 00 | 2e 07 05 53 4c 49 44 45 |...'....|...SLIDE|
|00000c10| 07 08 45 58 41 4d 50 4c | 45 53 23 08 00 00 00 04 |..EXAMPL|ES#.....|
|00000c20| 07 0d 45 58 41 4d 50 4c | 45 2d 47 52 4f 55 50 26 |..EXAMPL|E-GROUP&|
|00000c30| 25 4e 6f 77 20 6c 65 74 | 27 73 20 67 65 74 20 61 |%Now let|'s get a|
|00000c40| 77 61 79 20 66 72 6f 6d | 20 74 68 65 20 61 6c 70 |way from| the alp|
|00000c50| 68 61 62 65 74 2e 23 01 | 00 00 00 10 01 26 2a 2a |habet.#.|.....&**|
|00000c60| 20 28 53 45 54 46 20 54 | 4f 4f 4c 53 20 28 4c 49 | (SETF T|OOLS (LI|
|00000c70| 53 54 20 27 48 41 4d 4d | 45 52 20 27 53 43 52 45 |ST 'HAMM|ER 'SCRE|
|00000c80| 57 44 52 49 56 45 52 29 | 29 23 01 00 00 00 10 01 |WDRIVER)|)#......|
|00000c90| 26 14 28 48 41 4d 4d 45 | 52 20 53 43 52 45 57 44 |&.(HAMME|R SCREWD|
|00000ca0| 52 49 56 45 52 29 23 01 | 00 00 00 10 01 27 04 00 |RIVER)#.|.....'..|
|00000cb0| 00 00 2e 07 0d 45 58 41 | 4d 50 4c 45 2d 47 52 4f |.....EXA|MPLE-GRO|
|00000cc0| 55 50 26 19 45 76 61 6c | 75 61 74 65 20 74 68 65 |UP&.Eval|uate the|
|00000cd0| 20 67 69 76 65 6e 20 66 | 6f 72 6d 73 2e 23 01 00 | given f|orms.#..|
|00000ce0| 00 00 10 01 26 16 2a 20 | 28 43 4f 4e 53 20 27 50 |....&.* |(CONS 'P|
|00000cf0| 4c 49 45 52 53 20 54 4f | 4f 4c 53 29 23 01 00 00 |LIERS TO|OLS)#...|
|00000d00| 00 10 01 26 1b 28 50 4c | 49 45 52 53 20 48 41 4d |...&.(PL|IERS HAM|
|00000d10| 4d 45 52 20 53 43 52 45 | 57 44 52 49 56 45 52 29 |MER SCRE|WDRIVER)|
|00000d20| 23 01 00 00 00 10 01 27 | 04 00 00 00 2e 07 0d 45 |#......'|.......E|
|00000d30| 58 41 4d 50 4c 45 2d 47 | 52 4f 55 50 04 26 07 2a |XAMPLE-G|ROUP.&.*|
|00000d40| 20 54 4f 4f 4c 53 23 01 | 00 00 00 10 01 26 14 28 | TOOLS#.|.....&.(|
|00000d50| 48 41 4d 4d 45 52 20 53 | 43 52 45 57 44 52 49 56 |HAMMER S|CREWDRIV|
|00000d60| 45 52 29 23 01 00 00 00 | 10 01 27 04 00 00 00 2e |ER)#....|..'.....|
|00000d70| 07 0d 45 58 41 4d 50 4c | 45 2d 47 52 4f 55 50 04 |..EXAMPL|E-GROUP.|
|00000d80| 26 23 2a 20 28 53 45 54 | 46 20 54 4f 4f 4c 53 20 |&#* (SET|F TOOLS |
|00000d90| 28 43 4f 4e 53 20 27 50 | 4c 49 45 52 53 20 54 4f |(CONS 'P|LIERS TO|
|00000da0| 4f 4c 53 29 29 23 01 00 | 00 00 10 01 26 1b 28 50 |OLS))#..|....&.(P|
|00000db0| 4c 49 45 52 53 20 48 41 | 4d 4d 45 52 20 53 43 52 |LIERS HA|MMER SCR|
|00000dc0| 45 57 44 52 49 56 45 52 | 29 23 01 00 00 00 10 01 |EWDRIVER|)#......|
|00000dd0| 27 04 00 00 00 2e 07 0d | 45 58 41 4d 50 4c 45 2d |'.......|EXAMPLE-|
|00000de0| 47 52 4f 55 50 04 26 07 | 2a 20 54 4f 4f 4c 53 23 |GROUP.&.|* TOOLS#|
|00000df0| 01 00 00 00 10 01 26 68 | 28 50 4c 49 45 52 53 20 |......&h|(PLIERS |
|00000e00| 48 41 4d 4d 45 52 20 53 | 43 52 45 57 44 52 49 56 |HAMMER S|CREWDRIV|
|00000e10| 45 52 29 00 06 3b 53 45 | 54 46 20 63 68 61 6e 67 |ER)..;SE|TF chang|
|00000e20| 65 73 20 73 79 6d 62 6f | 6c 27 73 20 76 61 6c 75 |es symbo|l's valu|
|00000e30| 65 2c 0a 00 21 3b 6f 6c | 64 20 76 61 6c 75 65 20 |e,..!;ol|d value |
|00000e40| 69 6e 76 6f 6c 76 65 64 | 20 69 6e 20 6d 61 6b 69 |involved| in maki|
|00000e50| 6e 67 0a 00 21 3b 6e 65 | 77 20 76 61 6c 75 65 2e |ng..!;ne|w value.|
|00000e60| 23 03 00 00 00 10 01 27 | 04 00 00 00 2e 04 10 05 |#......'|........|
|00000e70| 27 05 00 00 00 2e 07 05 | 53 4c 49 44 45 07 08 45 |'.......|SLIDE..E|
|00000e80| 58 41 4d 50 4c 45 53 23 | 09 00 00 00 04 07 0d 45 |XAMPLES#|.......E|
|00000e90| 58 41 4d 50 4c 45 2d 47 | 52 4f 55 50 26 39 52 65 |XAMPLE-G|ROUP&9Re|
|00000ea0| 63 61 6c 6c 20 74 68 61 | 74 20 54 4f 4f 4c 27 73 |call tha|t TOOL's|
|00000eb0| 20 76 61 6c 75 65 20 69 | 73 20 28 50 4c 49 45 52 | value i|s (PLIER|
|00000ec0| 53 20 48 41 4d 4d 45 52 | 20 53 43 52 45 57 44 52 |S HAMMER| SCREWDR|
|00000ed0| 49 56 45 52 29 2e 20 23 | 01 00 00 00 10 01 26 1e |IVER). #|......&.|
|00000ee0| 2a 20 28 41 50 50 45 4e | 44 20 27 28 53 41 57 20 |* (APPEN|D '(SAW |
|00000ef0| 57 52 45 4e 43 48 29 20 | 54 4f 4f 4c 53 29 23 01 |WRENCH) |TOOLS)#.|
|00000f00| 00 00 00 10 01 26 26 28 | 53 41 57 20 57 52 45 4e |.....&&(|SAW WREN|
|00000f10| 43 48 20 50 4c 49 45 52 | 53 20 48 41 4d 4d 45 52 |CH PLIER|S HAMMER|
|00000f20| 20 53 43 52 45 57 44 52 | 49 56 45 52 29 23 01 00 | SCREWDR|IVER)#..|
|00000f30| 00 00 10 01 27 04 00 00 | 00 2e 07 0d 45 58 41 4d |....'...|....EXAM|
|00000f40| 50 4c 45 2d 47 52 4f 55 | 50 04 26 07 2a 20 54 4f |PLE-GROU|P.&.* TO|
|00000f50| 4f 4c 53 23 01 00 00 00 | 10 01 26 1b 28 50 4c 49 |OLS#....|..&.(PLI|
|00000f60| 45 52 53 20 48 41 4d 4d | 45 52 20 53 43 52 45 57 |ERS HAMM|ER SCREW|
|00000f70| 44 52 49 56 45 52 29 23 | 01 00 00 00 10 01 27 04 |DRIVER)#|......'.|
|00000f80| 00 00 00 2e 07 0d 45 58 | 41 4d 50 4c 45 2d 47 52 |......EX|AMPLE-GR|
|00000f90| 4f 55 50 04 26 2b 2a 20 | 28 53 45 54 46 20 54 4f |OUP.&+* |(SETF TO|
|00000fa0| 4f 4c 53 20 28 41 50 50 | 45 4e 44 20 27 28 53 41 |OLS (APP|END '(SA|
|00000fb0| 57 20 57 52 45 4e 43 48 | 29 20 54 4f 4f 4c 53 29 |W WRENCH|) TOOLS)|
|00000fc0| 29 23 01 00 00 00 10 01 | 26 26 28 53 41 57 20 57 |)#......|&&(SAW W|
|00000fd0| 52 45 4e 43 48 20 50 4c | 49 45 52 53 20 48 41 4d |RENCH PL|IERS HAM|
|00000fe0| 4d 45 52 20 53 43 52 45 | 57 44 52 49 56 45 52 29 |MER SCRE|WDRIVER)|
|00000ff0| 23 01 00 00 00 10 01 27 | 04 00 00 00 2e 07 0d 45 |#......'|.......E|
|00001000| 58 41 4d 50 4c 45 2d 47 | 52 4f 55 50 04 26 07 2a |XAMPLE-G|ROUP.&.*|
|00001010| 20 54 4f 4f 4c 53 23 01 | 00 00 00 10 01 26 74 28 | TOOLS#.|.....&t(|
|00001020| 53 41 57 20 57 52 45 4e | 43 48 20 50 4c 49 45 52 |SAW WREN|CH PLIER|
|00001030| 53 20 48 41 4d 4d 45 52 | 20 53 43 52 45 57 44 52 |S HAMMER| SCREWDR|
|00001040| 49 56 45 52 29 00 02 3b | 53 45 54 46 20 63 68 61 |IVER)..;|SETF cha|
|00001050| 6e 67 65 73 20 73 79 6d | 62 6f 6c 27 73 20 76 61 |nges sym|bol's va|
|00001060| 6c 75 65 2c 0a 00 28 3b | 6f 6c 64 20 76 61 6c 75 |lue,..(;|old valu|
|00001070| 65 20 69 6e 76 6f 6c 76 | 65 64 20 69 6e 20 6d 61 |e involv|ed in ma|
|00001080| 6b 69 6e 67 0a 00 28 3b | 6e 65 77 20 76 61 6c 75 |king..(;|new valu|
|00001090| 65 2e 0a 23 04 00 00 00 | 10 01 27 04 00 00 00 2e |e..#....|..'.....|
|000010a0| 04 10 04 27 05 00 00 00 | 2e 07 05 53 4c 49 44 45 |...'....|...SLIDE|
|000010b0| 07 08 45 58 41 4d 50 4c | 45 53 23 0a 00 00 00 04 |..EXAMPL|ES#.....|
|000010c0| 07 0d 45 58 41 4d 50 4c | 45 2d 47 52 4f 55 50 26 |..EXAMPL|E-GROUP&|
|000010d0| 68 41 73 73 75 6d 65 20 | 53 4d 41 4c 4c 2d 4f 42 |hAssume |SMALL-OB|
|000010e0| 53 54 41 43 4c 45 53 27 | 73 20 76 61 6c 75 65 20 |STACLES'|s value |
|000010f0| 69 73 20 28 42 52 49 43 | 4b 2d 44 20 50 59 52 41 |is (BRIC|K-D PYRA|
|00001100| 4d 49 44 2d 46 29 3b 0a | 61 73 73 75 6d 65 20 4c |MID-F);.|assume L|
|00001110| 41 52 47 45 2d 4f 42 53 | 54 41 43 4c 45 53 27 73 |ARGE-OBS|TACLES's|
|00001120| 20 76 61 6c 75 65 20 69 | 73 20 28 42 4f 58 2d 43 | value i|s (BOX-C|
|00001130| 20 42 41 4c 4c 2d 51 29 | 2e 23 02 00 00 00 10 01 | BALL-Q)|.#......|
|00001140| 26 3b 2a 20 28 53 45 54 | 46 20 4f 42 53 54 41 43 |&;* (SET|F OBSTAC|
|00001150| 4c 45 53 20 28 41 50 50 | 45 4e 44 20 53 4d 41 4c |LES (APP|END SMAL|
|00001160| 4c 2d 4f 42 53 54 41 43 | 4c 45 53 20 4c 41 52 47 |L-OBSTAC|LES LARG|
|00001170| 45 2d 4f 42 53 54 41 43 | 4c 45 53 29 29 23 01 00 |E-OBSTAC|LES))#..|
|00001180| 00 00 10 01 26 20 28 42 | 52 49 43 4b 2d 44 20 50 |....& (B|RICK-D P|
|00001190| 59 52 41 4d 49 44 2d 46 | 20 42 4f 58 2d 43 20 42 |YRAMID-F| BOX-C B|
|000011a0| 41 4c 4c 2d 51 29 23 01 | 00 00 00 10 01 27 04 00 |ALL-Q)#.|.....'..|
|000011b0| 00 00 2e 07 0d 45 58 41 | 4d 50 4c 45 2d 47 52 4f |.....EXA|MPLE-GRO|
|000011c0| 55 50 04 26 28 2a 20 28 | 4c 49 53 54 20 53 4d 41 |UP.&(* (|LIST SMA|
|000011d0| 4c 4c 2d 4f 42 53 54 41 | 43 4c 45 53 20 4c 41 52 |LL-OBSTA|CLES LAR|
|000011e0| 47 45 2d 4f 42 53 54 41 | 43 4c 45 53 29 23 01 00 |GE-OBSTA|CLES)#..|
|000011f0| 00 00 10 01 26 24 28 28 | 42 52 49 43 4b 2d 44 20 |....&$((|BRICK-D |
|00001200| 50 59 52 41 4d 49 44 2d | 46 29 20 28 42 4f 58 2d |PYRAMID-|F) (BOX-|
|00001210| 43 20 42 41 4c 4c 2d 51 | 29 29 23 01 00 00 00 10 |C BALL-Q|))#.....|
|00001220| 01 27 04 00 00 00 2e 07 | 0d 45 58 41 4d 50 4c 45 |.'......|.EXAMPLE|
|00001230| 2d 47 52 4f 55 50 04 26 | 5b 2a 20 28 4c 49 53 54 |-GROUP.&|[* (LIST|
|00001240| 20 28 4c 49 53 54 20 27 | 53 4d 41 4c 4c 2d 4f 42 | (LIST '|SMALL-OB|
|00001250| 53 54 41 43 4c 45 53 20 | 53 4d 41 4c 4c 2d 4f 42 |STACLES |SMALL-OB|
|00001260| 53 54 41 43 4c 45 53 29 | 20 0a 00 08 28 4c 49 53 |STACLES)| ...(LIS|
|00001270| 54 20 27 4c 41 52 47 45 | 2d 4f 42 53 54 41 43 4c |T 'LARGE|-OBSTACL|
|00001280| 45 53 20 4c 41 52 47 45 | 2d 4f 42 53 54 41 43 4c |ES LARGE|-OBSTACL|
|00001290| 45 53 29 29 23 02 00 00 | 00 10 01 26 4a 28 28 53 |ES))#...|...&J((S|
|000012a0| 4d 41 4c 4c 2d 4f 42 53 | 54 41 43 4c 45 53 20 28 |MALL-OBS|TACLES (|
|000012b0| 42 52 49 43 4b 2d 44 20 | 50 59 52 41 4d 49 44 2d |BRICK-D |PYRAMID-|
|000012c0| 46 29 29 0a 20 28 4c 41 | 52 47 45 2d 4f 42 53 54 |F)). (LA|RGE-OBST|
|000012d0| 41 43 4c 45 53 20 28 42 | 4f 58 2d 43 20 42 41 4c |ACLES (B|OX-C BAL|
|000012e0| 4c 2d 51 29 29 29 0a 23 | 03 00 00 00 10 01 27 04 |L-Q))).#|......'.|
|000012f0| 00 00 00 2e 04 10 03 27 | 05 00 00 00 2e 07 05 53 |.......'|.......S|
|00001300| 4c 49 44 45 07 08 50 52 | 41 43 54 49 43 45 23 0b |LIDE..PR|ACTICE#.|
|00001310| 00 00 00 07 05 46 4f 52 | 4d 53 0b 01 01 54 04 10 |.....FOR|MS...T..|
|00001320| 02 26 6d 0a 54 72 79 20 | 61 20 66 65 77 20 65 78 |.&m.Try |a few ex|
|00001330| 61 6d 70 6c 65 73 20 69 | 6e 76 6f 6c 76 69 6e 67 |amples i|nvolving|
|00001340| 20 41 50 50 45 4e 44 2c | 20 70 65 72 68 61 70 73 | APPEND,| perhaps|
|00001350| 20 63 6f 6e 73 74 72 61 | 73 74 69 6e 67 20 74 68 | constra|sting th|
|00001360| 65 0a 72 65 73 75 6c 74 | 73 20 77 69 74 68 20 65 |e.result|s with e|
|00001370| 78 61 6d 70 6c 65 73 20 | 69 6e 76 6f 6c 76 69 6e |xamples |involvin|
|00001380| 67 20 4c 49 53 54 20 6f | 72 20 43 4f 4e 53 2e 0a |g LIST o|r CONS..|
|00001390| 23 04 00 00 00 10 01 27 | 05 00 00 00 2e 07 05 53 |#......'|.......S|
|000013a0| 4c 49 44 45 07 0a 45 58 | 50 4f 53 49 54 49 4f 4e |LIDE..EX|POSITION|
|000013b0| 23 0c 00 00 00 04 07 0a | 45 58 50 4f 53 49 54 49 |#.......|EXPOSITI|
|000013c0| 4f 4e 25 65 01 00 00 0a | 52 45 56 45 52 53 45 20 |ON%e....|REVERSE |
|000013d0| 74 75 72 6e 73 20 6c 69 | 73 74 73 20 61 72 6f 75 |turns li|sts arou|
|000013e0| 6e 64 2e 00 02 48 65 72 | 65 20 61 72 65 20 73 6f |nd...Her|e are so|
|000013f0| 6d 65 20 69 6c 6c 75 73 | 74 72 61 74 69 6f 6e 73 |me illus|trations|
|00001400| 3a 0a 0a 2a 20 28 52 45 | 56 45 52 53 45 20 27 28 |:..* (RE|VERSE '(|
|00001410| 41 20 42 20 43 29 29 0a | 28 43 20 42 20 41 29 0a |A B C)).|(C B A).|
|00001420| 0a 4e 6f 74 65 2c 20 68 | 6f 77 65 76 65 72 2c 20 |.Note, h|owever, |
|00001430| 74 68 61 74 20 52 45 56 | 45 52 53 45 20 64 6f 65 |that REV|ERSE doe|
|00001440| 73 20 6e 6f 74 20 74 75 | 72 6e 20 74 68 65 20 69 |s not tu|rn the i|
|00001450| 6e 64 69 76 69 64 75 61 | 6c 0a 65 6c 65 6d 65 6e |ndividua|l.elemen|
|00001460| 74 73 20 6f 66 20 61 20 | 6c 69 73 74 20 61 72 6f |ts of a |list aro|
|00001470| 75 6e 64 20 77 68 65 6e | 20 74 68 6f 73 65 20 65 |und when| those e|
|00001480| 6c 65 6d 65 6e 74 73 20 | 61 72 65 20 6c 69 73 74 |lements |are list|
|00001490| 73 3a 0a 0a 2a 20 28 52 | 45 56 45 52 53 45 20 27 |s:..* (R|EVERSE '|
|000014a0| 28 28 41 20 42 29 20 28 | 4c 20 4d 29 20 28 58 20 |((A B) (|L M) (X |
|000014b0| 59 29 29 29 0a 28 28 58 | 20 59 29 20 28 4c 20 4d |Y))).((X| Y) (L M|
|000014c0| 29 20 28 41 20 42 29 29 | 0a 0a 54 68 65 20 61 6e |) (A B))|..The an|
|000014d0| 73 77 65 72 20 69 73 20 | 6e 6f 74 20 28 28 59 20 |swer is |not ((Y |
|000014e0| 58 29 20 28 4d 20 4c 29 | 20 28 42 20 41 29 29 3a |X) (M L)| (B A)):|
|000014f0| 00 02 77 65 20 73 61 79 | 20 74 68 61 74 20 52 45 |..we say| that RE|
|00001500| 56 45 52 53 45 20 74 75 | 72 6e 73 0a 74 68 65 20 |VERSE tu|rns.the |
|00001510| 6c 69 73 74 20 6f 6e 6c | 79 20 6f 6e 20 74 68 65 |list onl|y on the|
|00001520| 20 74 6f 70 20 6c 65 76 | 65 6c 2e 0a 23 0f 00 00 | top lev|el..#...|
|00001530| 00 10 01 04 27 03 00 00 | 00 2e 27 05 00 00 00 2e |....'...|..'.....|
|00001540| 07 05 53 4c 49 44 45 07 | 08 45 58 41 4d 50 4c 45 |..SLIDE.|.EXAMPLE|
|00001550| 53 23 0d 00 00 00 04 07 | 0d 45 58 41 4d 50 4c 45 |S#......|.EXAMPLE|
|00001560| 2d 47 52 4f 55 50 26 19 | 45 76 61 6c 75 61 74 65 |-GROUP&.|Evaluate|
|00001570| 20 74 68 65 20 67 69 76 | 65 6e 20 66 6f 72 6d 73 | the giv|en forms|
|00001580| 2e 23 01 00 00 00 10 01 | 26 35 2a 20 28 53 45 54 |.#......|&5* (SET|
|00001590| 46 20 52 45 56 45 52 53 | 45 2d 4d 45 20 27 28 4f |F REVERS|E-ME '(O|
|000015a0| 4e 45 20 47 4f 4f 44 20 | 54 55 52 4e 20 44 45 53 |NE GOOD |TURN DES|
|000015b0| 45 52 56 45 53 20 41 4e | 4f 54 48 45 52 29 29 23 |ERVES AN|OTHER))#|
|000015c0| 01 00 00 00 10 01 26 20 | 28 4f 4e 45 20 47 4f 4f |......& |(ONE GOO|
|000015d0| 44 20 54 55 52 4e 20 44 | 45 53 45 52 56 45 53 20 |D TURN D|ESERVES |
|000015e0| 41 4e 4f 54 48 45 52 29 | 23 01 00 00 00 10 01 27 |ANOTHER)|#......'|
|000015f0| 04 00 00 00 2e 07 0d 45 | 58 41 4d 50 4c 45 2d 47 |.......E|XAMPLE-G|
|00001600| 52 4f 55 50 04 26 16 2a | 20 28 52 45 56 45 52 53 |ROUP.&.*| (REVERS|
|00001610| 45 20 52 45 56 45 52 53 | 45 2d 4d 45 29 23 01 00 |E REVERS|E-ME)#..|
|00001620| 00 00 10 01 26 20 28 41 | 4e 4f 54 48 45 52 20 44 |....& (A|NOTHER D|
|00001630| 45 53 45 52 56 45 53 20 | 54 55 52 4e 20 47 4f 4f |ESERVES |TURN GOO|
|00001640| 44 20 4f 4e 45 29 23 01 | 00 00 00 10 01 27 04 00 |D ONE)#.|.....'..|
|00001650| 00 00 2e 07 0d 45 58 41 | 4d 50 4c 45 2d 47 52 4f |.....EXA|MPLE-GRO|
|00001660| 55 50 04 26 1f 2a 20 28 | 52 45 56 45 52 53 45 20 |UP.&.* (|REVERSE |
|00001670| 28 52 45 56 45 52 53 45 | 20 52 45 56 45 52 53 45 |(REVERSE| REVERSE|
|00001680| 2d 4d 45 29 23 01 00 00 | 00 10 01 26 21 28 4f 4e |-ME)#...|...&!(ON|
|00001690| 45 20 47 4f 4f 44 20 54 | 55 52 4e 20 44 45 53 45 |E GOOD T|URN DESE|
|000016a0| 52 56 45 53 20 41 4e 4f | 54 48 45 52 29 0a 23 02 |RVES ANO|THER).#.|
|000016b0| 00 00 00 10 01 27 04 00 | 00 00 2e 04 10 03 27 05 |.....'..|......'.|
|000016c0| 00 00 00 2e 07 05 53 4c | 49 44 45 07 08 45 58 41 |......SL|IDE..EXA|
|000016d0| 4d 50 4c 45 53 23 0e 00 | 00 00 04 07 0d 45 58 41 |MPLES#..|.....EXA|
|000016e0| 4d 50 4c 45 2d 47 52 4f | 55 50 26 19 45 76 61 6c |MPLE-GRO|UP&.Eval|
|000016f0| 75 61 74 65 20 74 68 65 | 20 67 69 76 65 6e 20 66 |uate the| given f|
|00001700| 6f 72 6d 73 2e 23 01 00 | 00 00 10 01 26 27 2a 20 |orms.#..|....&'* |
|00001710| 28 52 45 56 45 52 53 45 | 20 27 28 50 4c 41 54 4f |(REVERSE| '(PLATO|
|00001720| 20 53 4f 43 52 41 54 45 | 53 20 41 52 49 53 54 4f | SOCRATE|S ARISTO|
|00001730| 54 4c 45 29 29 23 01 00 | 00 00 10 01 26 1a 28 41 |TLE))#..|....&.(A|
|00001740| 52 49 53 54 4f 54 4c 45 | 20 53 4f 43 52 41 54 45 |RISTOTLE| SOCRATE|
|00001750| 53 20 50 4c 41 54 4f 29 | 23 01 00 00 00 10 01 27 |S PLATO)|#......'|
|00001760| 04 00 00 00 2e 07 0d 45 | 58 41 4d 50 4c 45 2d 47 |.......E|XAMPLE-G|
|00001770| 52 4f 55 50 04 26 2d 2a | 20 28 52 45 56 45 52 53 |ROUP.&-*| (REVERS|
|00001780| 45 20 27 28 28 50 4c 41 | 54 4f 29 20 28 53 4f 43 |E '((PLA|TO) (SOC|
|00001790| 52 41 54 45 53 29 20 28 | 41 52 49 53 54 4f 54 4c |RATES) (|ARISTOTL|
|000017a0| 45 29 29 29 23 01 00 00 | 00 10 01 26 20 28 28 41 |E)))#...|...& ((A|
|000017b0| 52 49 53 54 4f 54 4c 45 | 29 20 28 53 4f 43 52 41 |RISTOTLE|) (SOCRA|
|000017c0| 54 45 53 29 20 28 50 4c | 41 54 4f 29 29 23 01 00 |TES) (PL|ATO))#..|
|000017d0| 00 00 10 01 27 04 00 00 | 00 2e 07 0d 45 58 41 4d |....'...|....EXAM|
|000017e0| 50 4c 45 2d 47 52 4f 55 | 50 04 26 29 2a 20 28 52 |PLE-GROU|P.&)* (R|
|000017f0| 45 56 45 52 53 45 20 27 | 28 28 50 4c 41 54 4f 20 |EVERSE '|((PLATO |
|00001800| 53 4f 43 52 41 54 45 53 | 20 41 52 49 53 54 4f 54 |SOCRATES| ARISTOT|
|00001810| 4c 45 29 29 29 23 01 00 | 00 00 10 01 26 90 28 28 |LE)))#..|....&.((|
|00001820| 50 4c 41 54 4f 20 53 4f | 43 52 41 54 45 53 20 41 |PLATO SO|CRATES A|
|00001830| 52 49 53 54 4f 54 4c 45 | 29 29 00 05 3b 52 65 63 |RISTOTLE|))..;Rec|
|00001840| 61 6c 6c 20 74 68 61 74 | 20 52 45 56 45 52 53 45 |all that| REVERSE|
|00001850| 20 6f 6e 6c 79 0a 00 21 | 3b 77 6f 72 6b 73 20 6f | only..!|;works o|
|00001860| 6e 20 74 68 65 20 74 6f | 70 2d 6c 65 76 65 6c 0a |n the to|p-level.|
|00001870| 00 21 3b 6f 66 20 74 68 | 65 20 6c 69 73 74 2e 00 |.!;of th|e list..|
|00001880| 02 48 65 72 65 20 74 68 | 65 72 65 20 69 73 0a 00 |.Here th|ere is..|
|00001890| 21 3b 6f 6e 6c 79 20 6f | 6e 65 20 65 6c 65 6d 65 |!;only o|ne eleme|
|000018a0| 6e 74 20 61 74 20 74 68 | 65 20 74 6f 70 2e 23 04 |nt at th|e top.#.|
|000018b0| 00 00 00 10 01 27 04 00 | 00 00 2e 04 10 03 27 05 |.....'..|......'.|
|000018c0| 00 00 00 2e 07 05 53 4c | 49 44 45 07 08 45 58 41 |......SL|IDE..EXA|
|000018d0| 4d 50 4c 45 53 23 0f 00 | 00 00 04 07 0d 45 58 41 |MPLES#..|.....EXA|
|000018e0| 4d 50 4c 45 2d 47 52 4f | 55 50 26 19 45 76 61 6c |MPLE-GRO|UP&.Eval|
|000018f0| 75 61 74 65 20 74 68 65 | 20 67 69 76 65 6e 20 66 |uate the| given f|
|00001900| 6f 72 6d 73 2e 23 01 00 | 00 00 10 01 26 3e 2a 20 |orms.#..|....&>* |
|00001910| 28 4c 45 4e 47 54 48 20 | 27 28 28 46 49 52 53 54 |(LENGTH |'((FIRST|
|00001920| 20 43 48 45 56 52 4f 4c | 45 54 29 20 28 44 52 49 | CHEVROL|ET) (DRI|
|00001930| 4e 4b 20 43 4f 4b 45 29 | 20 28 43 45 52 45 41 4c |NK COKE)| (CEREAL|
|00001940| 20 57 48 45 41 54 49 45 | 53 29 29 29 23 01 00 00 | WHEATIE|S)))#...|
|00001950| 00 10 01 26 01 33 23 01 | 00 00 00 10 01 27 04 00 |...&.3#.|.....'..|
|00001960| 00 00 2e 07 0d 45 58 41 | 4d 50 4c 45 2d 47 52 4f |.....EXA|MPLE-GRO|
|00001970| 55 50 04 26 3f 2a 20 28 | 52 45 56 45 52 53 45 20 |UP.&?* (|REVERSE |
|00001980| 27 28 28 46 49 52 53 54 | 20 43 48 45 56 52 4f 4c |'((FIRST| CHEVROL|
|00001990| 45 54 29 20 28 44 52 49 | 4e 4b 20 43 4f 4b 45 29 |ET) (DRI|NK COKE)|
|000019a0| 20 28 43 45 52 45 41 4c | 20 57 48 45 41 54 49 45 | (CEREAL| WHEATIE|
|000019b0| 53 29 29 29 23 01 00 00 | 00 10 01 26 32 28 28 43 |S)))#...|...&2((C|
|000019c0| 45 52 45 41 4c 20 57 48 | 45 41 54 49 45 53 29 20 |EREAL WH|EATIES) |
|000019d0| 28 44 52 49 4e 4b 20 43 | 4f 4b 45 29 20 28 46 49 |(DRINK C|OKE) (FI|
|000019e0| 52 53 54 20 43 48 45 56 | 52 4f 4c 45 54 29 29 23 |RST CHEV|ROLET))#|
|000019f0| 01 00 00 00 10 01 27 04 | 00 00 00 2e 07 0d 45 58 |......'.|......EX|
|00001a00| 41 4d 50 4c 45 2d 47 52 | 4f 55 50 04 26 5a 2a 20 |AMPLE-GR|OUP.&Z* |
|00001a10| 28 41 50 50 45 4e 44 20 | 27 28 28 46 49 52 53 54 |(APPEND |'((FIRST|
|00001a20| 20 43 48 45 56 52 4f 4c | 45 54 29 20 28 44 52 49 | CHEVROL|ET) (DRI|
|00001a30| 4e 4b 20 43 4f 4b 45 29 | 29 0a 00 0b 28 52 45 56 |NK COKE)|)...(REV|
|00001a40| 45 52 53 45 20 27 28 28 | 46 49 52 53 54 20 43 48 |ERSE '((|FIRST CH|
|00001a50| 45 56 52 4f 4c 45 54 29 | 20 28 44 52 49 4e 4b 20 |EVROLET)| (DRINK |
|00001a60| 43 4f 4b 45 29 29 29 29 | 23 02 00 00 00 10 01 26 |COKE))))|#......&|
|00001a70| 3f 28 28 46 49 52 53 54 | 20 43 48 45 56 52 4f 4c |?((FIRST| CHEVROL|
|00001a80| 45 54 29 20 28 44 52 49 | 4e 4b 20 43 4f 4b 45 29 |ET) (DRI|NK COKE)|
|00001a90| 20 28 44 52 49 4e 4b 20 | 43 4f 4b 45 29 20 28 46 | (DRINK |COKE) (F|
|00001aa0| 49 52 53 54 20 43 48 45 | 56 52 4f 4c 45 54 29 29 |IRST CHE|VROLET))|
|00001ab0| 23 01 00 00 00 10 01 27 | 04 00 00 00 2e 07 0d 45 |#......'|.......E|
|00001ac0| 58 41 4d 50 4c 45 2d 47 | 52 4f 55 50 04 26 2d 2a |XAMPLE-G|ROUP.&-*|
|00001ad0| 20 28 52 45 56 45 52 53 | 45 20 27 28 28 46 49 52 | (REVERS|E '((FIR|
|00001ae0| 53 54 20 43 48 45 56 52 | 4f 4c 45 54 29 20 28 44 |ST CHEVR|OLET) (D|
|00001af0| 52 49 4e 4b 20 43 4f 4b | 45 29 29 29 23 01 00 00 |RINK COK|E)))#...|
|00001b00| 00 10 01 26 21 28 28 44 | 52 49 4e 4b 20 43 4f 4b |...&!((D|RINK COK|
|00001b10| 45 29 20 28 46 49 52 53 | 54 20 43 48 45 56 52 4f |E) (FIRS|T CHEVRO|
|00001b20| 4c 45 54 29 29 0a 23 02 | 00 00 00 10 01 27 04 00 |LET)).#.|.....'..|
|00001b30| 00 00 2e 04 10 04 27 05 | 00 00 00 2e 07 05 53 4c |......'.|......SL|
|00001b40| 49 44 45 07 08 50 52 41 | 43 54 49 43 45 23 10 00 |IDE..PRA|CTICE#..|
|00001b50| 00 00 07 05 46 4f 52 4d | 53 0b 01 01 54 04 10 02 |....FORM|S...T...|
|00001b60| 26 27 0a 54 72 79 20 61 | 20 66 65 77 20 65 78 61 |&'.Try a| few exa|
|00001b70| 6d 70 6c 65 73 20 69 6e | 76 6f 6c 76 69 6e 67 20 |mples in|volving |
|00001b80| 52 45 56 45 52 53 45 2e | 0a 23 03 00 00 00 10 01 |REVERSE.|.#......|
|00001b90| 27 05 00 00 00 2e 07 05 | 53 4c 49 44 45 07 0a 45 |'.......|SLIDE..E|
|00001ba0| 58 50 4f 53 49 54 49 4f | 4e 23 11 00 00 00 04 07 |XPOSITIO|N#......|
|00001bb0| 0a 45 58 50 4f 53 49 54 | 49 4f 4e 25 4f 01 00 00 |.EXPOSIT|ION%O...|
|00001bc0| 0a 52 65 6d 65 6d 62 65 | 72 20 2e 2e 2e 0a 0a 6f |.Remembe|r .....o|
|00001bd0| 00 04 49 46 20 79 6f 75 | 20 77 61 6e 74 20 74 6f |..IF you| want to|
|00001be0| 20 61 64 64 20 61 20 6e | 65 77 20 65 6c 65 6d 65 | add a n|ew eleme|
|00001bf0| 6e 74 20 74 6f 20 74 68 | 65 20 66 72 6f 6e 74 20 |nt to th|e front |
|00001c00| 6f 66 20 61 20 6c 69 73 | 74 2c 0a 00 05 54 48 45 |of a lis|t,...THE|
|00001c10| 4e 20 75 73 65 20 43 4f | 4e 53 2e 0a 0a 6f 00 04 |N use CO|NS...o..|
|00001c20| 49 46 20 79 6f 75 20 77 | 61 6e 74 20 74 6f 20 6d |IF you w|ant to m|
|00001c30| 61 6b 65 20 61 20 6c 69 | 73 74 20 6f 75 74 20 6f |ake a li|st out o|
|00001c40| 66 20 61 20 73 65 74 20 | 6f 66 20 65 6c 65 6d 65 |f a set |of eleme|
|00001c50| 6e 74 73 2c 0a 00 05 54 | 48 45 4e 20 75 73 65 20 |nts,...T|HEN use |
|00001c60| 4c 49 53 54 2e 0a 0a 6f | 00 04 49 46 20 79 6f 75 |LIST...o|..IF you|
|00001c70| 20 77 61 6e 74 20 74 6f | 20 63 6f 6d 62 69 6e 65 | want to| combine|
|00001c80| 20 74 68 65 20 65 6c 65 | 6d 65 6e 74 73 20 6f 66 | the ele|ments of|
|00001c90| 20 74 77 6f 20 6c 69 73 | 74 73 20 69 6e 74 6f 20 | two lis|ts into |
|00001ca0| 6f 6e 65 2c 0a 00 05 54 | 48 45 4e 20 75 73 65 20 |one,...T|HEN use |
|00001cb0| 41 50 50 45 4e 44 2e 0a | 0a 6f 00 04 49 46 20 79 |APPEND..|.o..IF y|
|00001cc0| 6f 75 20 77 61 6e 74 20 | 74 6f 20 6d 61 6b 65 20 |ou want |to make |
|00001cd0| 61 20 6c 69 73 74 20 74 | 68 61 74 20 69 73 20 6c |a list t|hat is l|
|00001ce0| 69 6b 65 20 61 6e 6f 74 | 68 65 72 20 74 75 72 6e |ike anot|her turn|
|00001cf0| 65 64 20 61 72 6f 75 6e | 64 2c 0a 00 05 54 48 45 |ed aroun|d,...THE|
|00001d00| 4e 20 75 73 65 20 52 45 | 56 45 52 53 45 2e 0a 23 |N use RE|VERSE..#|
|00001d10| 0f 00 00 00 10 01 04 27 | 03 00 00 00 2e 27 05 00 |.......'|.....'..|
|00001d20| 00 00 2e 27 11 00 00 00 | 04 27 05 00 00 00 2e 04 |...'....|.'......|
|00001d30| 10 02 04 10 03 36 0b 01 | 04 53 45 54 46 07 15 2a |.....6..|.SETF..*|
|00001d40| 4c 41 53 54 2d 4c 4f 41 | 44 45 44 2d 4c 45 53 53 |LAST-LOA|DED-LESS|
|00001d50| 4f 4e 53 2a 0b 01 05 51 | 55 4f 54 45 07 07 43 4f |ONS*...Q|UOTE..CO|
|00001d60| 4e 53 2d 49 49 04 10 01 | 04 10 02 04 10 03 36 40 |NS-II...|......6@|
+--------+-------------------------+-------------------------+--------+--------+