hamster 0.1.15 → 0.1.16
Sign up to get free protection for your applications and to get access to all the features.
- data/History.rdoc +16 -0
- data/README.rdoc +10 -10
- data/lib/hamster/core_ext/enumerable.rb +1 -1
- data/lib/hamster/core_ext/enumerable.rbc +481 -0
- data/lib/hamster/core_ext/io.rb +0 -1
- data/lib/hamster/core_ext/io.rbc +604 -0
- data/lib/hamster/hash.rb +6 -6
- data/lib/hamster/hash.rbc +3117 -0
- data/lib/hamster/list.rb +50 -14
- data/lib/hamster/list.rbc +7274 -0
- data/lib/hamster/set.rb +8 -7
- data/lib/hamster/set.rbc +3152 -0
- data/lib/hamster/stack.rbc +1358 -0
- data/lib/hamster/trie.rbc +3416 -0
- data/lib/hamster/version.rb +1 -1
- data/spec/hamster/core_ext/enumerable_spec.rb +1 -1
- data/spec/hamster/core_ext/enumerable_spec.rbc +747 -0
- data/spec/hamster/core_ext/io_spec.rbc +409 -0
- data/spec/hamster/hash/all_spec.rbc +1214 -0
- data/spec/hamster/hash/any_spec.rbc +1495 -0
- data/spec/hamster/hash/construction_spec.rbc +742 -0
- data/spec/hamster/hash/copying_spec.rbc +519 -0
- data/spec/hamster/hash/each_spec.rbc +908 -0
- data/spec/hamster/hash/empty_spec.rbc +517 -0
- data/spec/hamster/hash/eql_spec.rb +1 -1
- data/spec/hamster/hash/eql_spec.rbc +1702 -0
- data/spec/hamster/hash/filter_spec.rbc +1433 -0
- data/spec/hamster/hash/get_spec.rbc +791 -0
- data/spec/hamster/hash/has_key_spec.rbc +719 -0
- data/spec/hamster/hash/map_spec.rbc +1454 -0
- data/spec/hamster/hash/none_spec.rbc +1399 -0
- data/spec/hamster/hash/put_spec.rbc +1334 -0
- data/spec/hamster/hash/reduce_spec.rbc +1234 -0
- data/spec/hamster/hash/reject_spec.rbc +1445 -0
- data/spec/hamster/hash/remove_spec.rbc +1135 -0
- data/spec/hamster/hash/size_spec.rbc +596 -0
- data/spec/hamster/list/all_spec.rb +12 -4
- data/spec/hamster/list/all_spec.rbc +1760 -0
- data/spec/hamster/list/any_spec.rb +12 -4
- data/spec/hamster/list/any_spec.rbc +1888 -0
- data/spec/hamster/list/append_spec.rb +12 -5
- data/spec/hamster/list/append_spec.rbc +1555 -0
- data/spec/hamster/list/cadr_spec.rb +1 -1
- data/spec/hamster/list/cadr_spec.rbc +855 -0
- data/spec/hamster/list/cons_spec.rbc +848 -0
- data/spec/hamster/list/construction_spec.rbc +1732 -0
- data/spec/hamster/list/copying_spec.rbc +555 -0
- data/spec/hamster/list/drop_spec.rb +12 -4
- data/spec/hamster/list/drop_spec.rbc +1081 -0
- data/spec/hamster/list/drop_while_spec.rb +12 -4
- data/spec/hamster/list/drop_while_spec.rbc +1286 -0
- data/spec/hamster/list/each_spec.rb +13 -5
- data/spec/hamster/list/each_spec.rbc +1365 -0
- data/spec/hamster/list/empty_spec.rb +1 -1
- data/spec/hamster/list/empty_spec.rbc +571 -0
- data/spec/hamster/list/eql_spec.rb +15 -5
- data/spec/hamster/list/eql_spec.rbc +1819 -0
- data/spec/hamster/list/filter_spec.rb +13 -5
- data/spec/hamster/list/filter_spec.rbc +1595 -0
- data/spec/hamster/list/find_spec.rb +12 -4
- data/spec/hamster/list/find_spec.rbc +1456 -0
- data/spec/hamster/list/head_spec.rb +1 -1
- data/spec/hamster/list/head_spec.rbc +575 -0
- data/spec/hamster/list/include_spec.rb +12 -4
- data/spec/hamster/list/include_spec.rbc +1173 -0
- data/spec/hamster/list/inspect_spec.rb +13 -5
- data/spec/hamster/list/inspect_spec.rbc +995 -0
- data/spec/hamster/list/map_spec.rb +12 -4
- data/spec/hamster/list/map_spec.rbc +1545 -0
- data/spec/hamster/list/maximum_spec.rb +83 -0
- data/spec/hamster/list/minimum_spec.rb +83 -0
- data/spec/hamster/list/none_spec.rb +11 -3
- data/spec/hamster/list/none_spec.rbc +1788 -0
- data/spec/hamster/list/one_spec.rb +83 -0
- data/spec/hamster/list/partition_spec.rb +37 -9
- data/spec/hamster/list/partition_spec.rbc +2715 -0
- data/spec/hamster/list/reduce_spec.rb +12 -4
- data/spec/hamster/list/reduce_spec.rbc +2081 -0
- data/spec/hamster/list/reject_spec.rb +12 -4
- data/spec/hamster/list/reject_spec.rbc +1590 -0
- data/spec/hamster/list/reverse_spec.rb +12 -4
- data/spec/hamster/list/reverse_spec.rbc +1061 -0
- data/spec/hamster/list/size_spec.rb +13 -5
- data/spec/hamster/list/size_spec.rbc +1063 -0
- data/spec/hamster/list/tail_spec.rb +1 -1
- data/spec/hamster/list/tail_spec.rbc +595 -0
- data/spec/hamster/list/take_spec.rb +12 -4
- data/spec/hamster/list/take_spec.rbc +1075 -0
- data/spec/hamster/list/take_while_spec.rb +12 -4
- data/spec/hamster/list/take_while_spec.rbc +1446 -0
- data/spec/hamster/list/to_a_spec.rb +31 -19
- data/spec/hamster/list/to_a_spec.rbc +961 -0
- data/spec/hamster/list/to_ary_spec.rb +11 -3
- data/spec/hamster/list/to_ary_spec.rbc +1080 -0
- data/spec/hamster/list/to_list_spec.rb +31 -0
- data/spec/hamster/set/add_spec.rbc +1039 -0
- data/spec/hamster/set/all_spec.rbc +1316 -0
- data/spec/hamster/set/any_spec.rbc +1444 -0
- data/spec/hamster/set/construction_spec.rbc +422 -0
- data/spec/hamster/set/copying_spec.rbc +469 -0
- data/spec/hamster/set/each_spec.rbc +820 -0
- data/spec/hamster/set/empty_spec.rbc +452 -0
- data/spec/hamster/set/eql_spec.rb +1 -1
- data/spec/hamster/set/eql_spec.rbc +1309 -0
- data/spec/hamster/set/filter_spec.rbc +1272 -0
- data/spec/hamster/set/include_spec.rbc +657 -0
- data/spec/hamster/set/map_spec.rbc +1285 -0
- data/spec/hamster/set/none_spec.rbc +1344 -0
- data/spec/hamster/set/reduce_spec.rbc +1177 -0
- data/spec/hamster/set/reject_spec.rbc +1273 -0
- data/spec/hamster/set/remove_spec.rbc +947 -0
- data/spec/hamster/set/size_spec.rbc +531 -0
- data/spec/hamster/set/to_a_spec.rb +16 -12
- data/spec/hamster/set/to_a_spec.rbc +559 -0
- data/spec/hamster/stack/construction_spec.rbc +862 -0
- data/spec/hamster/stack/copying_spec.rbc +555 -0
- data/spec/hamster/stack/empty_spec.rb +1 -1
- data/spec/hamster/stack/empty_spec.rbc +571 -0
- data/spec/hamster/stack/eql_spec.rb +1 -1
- data/spec/hamster/stack/eql_spec.rbc +1281 -0
- data/spec/hamster/stack/inspect_spec.rb +1 -1
- data/spec/hamster/stack/inspect_spec.rbc +586 -0
- data/spec/hamster/stack/pop_spec.rbc +1099 -0
- data/spec/hamster/stack/push_spec.rbc +848 -0
- data/spec/hamster/stack/size_spec.rb +1 -1
- data/spec/hamster/stack/size_spec.rbc +650 -0
- data/spec/hamster/stack/top_spec.rbc +676 -0
- data/spec/hamster/trie/remove_spec.rbc +40 -0
- data/spec/spec_helper.rbc +163 -0
- data/tasks/spec.rbc +201 -0
- metadata +90 -2
@@ -8,14 +8,22 @@ describe Hamster::List do
|
|
8
8
|
|
9
9
|
describe "##{method}" do
|
10
10
|
|
11
|
-
describe "on a really big
|
11
|
+
describe "doesn't run out of stack space on a really big" do
|
12
12
|
|
13
13
|
before do
|
14
|
-
@
|
14
|
+
@interval = Hamster.interval(0, 10000)
|
15
15
|
end
|
16
16
|
|
17
|
-
it "
|
18
|
-
@list
|
17
|
+
it "stream" do
|
18
|
+
@list = @interval
|
19
|
+
end
|
20
|
+
|
21
|
+
it "list" do
|
22
|
+
@list = @interval.reduce(Hamster.list) { |list, i| list.cons(i) }
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
@list.send(method) { }
|
19
27
|
end
|
20
28
|
|
21
29
|
end
|
@@ -0,0 +1,2081 @@
|
|
1
|
+
!RBIX
|
2
|
+
0
|
3
|
+
x
|
4
|
+
M
|
5
|
+
1
|
6
|
+
n
|
7
|
+
n
|
8
|
+
x
|
9
|
+
10
|
10
|
+
__script__
|
11
|
+
i
|
12
|
+
50
|
13
|
+
5
|
14
|
+
42
|
15
|
+
0
|
16
|
+
1
|
17
|
+
42
|
18
|
+
0
|
19
|
+
2
|
20
|
+
61
|
21
|
+
45
|
22
|
+
3
|
23
|
+
46
|
24
|
+
4
|
25
|
+
1
|
26
|
+
7
|
27
|
+
5
|
28
|
+
60
|
29
|
+
77
|
30
|
+
6
|
31
|
+
46
|
32
|
+
7
|
33
|
+
1
|
34
|
+
44
|
35
|
+
46
|
36
|
+
8
|
37
|
+
1
|
38
|
+
14
|
39
|
+
5
|
40
|
+
7
|
41
|
+
9
|
42
|
+
60
|
43
|
+
44
|
44
|
+
46
|
45
|
+
8
|
46
|
+
1
|
47
|
+
14
|
48
|
+
5
|
49
|
+
42
|
50
|
+
10
|
51
|
+
11
|
52
|
+
40
|
53
|
+
12
|
54
|
+
53
|
55
|
+
13
|
56
|
+
44
|
57
|
+
47
|
58
|
+
14
|
59
|
+
1
|
60
|
+
14
|
61
|
+
2
|
62
|
+
11
|
63
|
+
I
|
64
|
+
4
|
65
|
+
I
|
66
|
+
0
|
67
|
+
I
|
68
|
+
0
|
69
|
+
I
|
70
|
+
0
|
71
|
+
n
|
72
|
+
p
|
73
|
+
15
|
74
|
+
x
|
75
|
+
4
|
76
|
+
File
|
77
|
+
n
|
78
|
+
n
|
79
|
+
x
|
80
|
+
11
|
81
|
+
active_path
|
82
|
+
x
|
83
|
+
7
|
84
|
+
dirname
|
85
|
+
s
|
86
|
+
18
|
87
|
+
/../../spec_helper
|
88
|
+
x
|
89
|
+
1
|
90
|
+
+
|
91
|
+
x
|
92
|
+
11
|
93
|
+
expand_path
|
94
|
+
x
|
95
|
+
7
|
96
|
+
require
|
97
|
+
s
|
98
|
+
12
|
99
|
+
hamster/list
|
100
|
+
x
|
101
|
+
7
|
102
|
+
Hamster
|
103
|
+
n
|
104
|
+
x
|
105
|
+
4
|
106
|
+
List
|
107
|
+
M
|
108
|
+
1
|
109
|
+
n
|
110
|
+
n
|
111
|
+
x
|
112
|
+
9
|
113
|
+
__block__
|
114
|
+
i
|
115
|
+
14
|
116
|
+
7
|
117
|
+
0
|
118
|
+
7
|
119
|
+
1
|
120
|
+
7
|
121
|
+
2
|
122
|
+
32
|
123
|
+
3
|
124
|
+
53
|
125
|
+
3
|
126
|
+
47
|
127
|
+
4
|
128
|
+
0
|
129
|
+
11
|
130
|
+
I
|
131
|
+
4
|
132
|
+
I
|
133
|
+
0
|
134
|
+
I
|
135
|
+
-1
|
136
|
+
I
|
137
|
+
-1
|
138
|
+
n
|
139
|
+
p
|
140
|
+
5
|
141
|
+
x
|
142
|
+
6
|
143
|
+
reduce
|
144
|
+
x
|
145
|
+
6
|
146
|
+
inject
|
147
|
+
x
|
148
|
+
4
|
149
|
+
fold
|
150
|
+
M
|
151
|
+
1
|
152
|
+
n
|
153
|
+
n
|
154
|
+
x
|
155
|
+
9
|
156
|
+
__block__
|
157
|
+
i
|
158
|
+
21
|
159
|
+
54
|
160
|
+
17
|
161
|
+
0
|
162
|
+
14
|
163
|
+
5
|
164
|
+
18
|
165
|
+
0
|
166
|
+
44
|
167
|
+
45
|
168
|
+
0
|
169
|
+
7
|
170
|
+
1
|
171
|
+
60
|
172
|
+
59
|
173
|
+
53
|
174
|
+
2
|
175
|
+
44
|
176
|
+
47
|
177
|
+
3
|
178
|
+
1
|
179
|
+
11
|
180
|
+
I
|
181
|
+
5
|
182
|
+
I
|
183
|
+
1
|
184
|
+
I
|
185
|
+
1
|
186
|
+
I
|
187
|
+
1
|
188
|
+
n
|
189
|
+
p
|
190
|
+
4
|
191
|
+
x
|
192
|
+
4
|
193
|
+
to_s
|
194
|
+
s
|
195
|
+
1
|
196
|
+
#
|
197
|
+
M
|
198
|
+
1
|
199
|
+
n
|
200
|
+
n
|
201
|
+
x
|
202
|
+
9
|
203
|
+
__block__
|
204
|
+
i
|
205
|
+
77
|
206
|
+
5
|
207
|
+
7
|
208
|
+
0
|
209
|
+
60
|
210
|
+
53
|
211
|
+
1
|
212
|
+
44
|
213
|
+
47
|
214
|
+
2
|
215
|
+
1
|
216
|
+
14
|
217
|
+
32
|
218
|
+
0
|
219
|
+
4
|
220
|
+
10
|
221
|
+
4
|
222
|
+
10
|
223
|
+
32
|
224
|
+
3
|
225
|
+
75
|
226
|
+
32
|
227
|
+
1
|
228
|
+
4
|
229
|
+
10
|
230
|
+
4
|
231
|
+
9
|
232
|
+
32
|
233
|
+
3
|
234
|
+
75
|
235
|
+
76
|
236
|
+
4
|
237
|
+
3
|
238
|
+
32
|
239
|
+
3
|
240
|
+
4
|
241
|
+
10
|
242
|
+
4
|
243
|
+
4
|
244
|
+
32
|
245
|
+
3
|
246
|
+
32
|
247
|
+
3
|
248
|
+
53
|
249
|
+
3
|
250
|
+
47
|
251
|
+
4
|
252
|
+
0
|
253
|
+
14
|
254
|
+
32
|
255
|
+
0
|
256
|
+
1
|
257
|
+
32
|
258
|
+
2
|
259
|
+
75
|
260
|
+
32
|
261
|
+
1
|
262
|
+
75
|
263
|
+
32
|
264
|
+
2
|
265
|
+
75
|
266
|
+
76
|
267
|
+
4
|
268
|
+
3
|
269
|
+
32
|
270
|
+
3
|
271
|
+
7
|
272
|
+
5
|
273
|
+
32
|
274
|
+
2
|
275
|
+
32
|
276
|
+
3
|
277
|
+
53
|
278
|
+
6
|
279
|
+
47
|
280
|
+
4
|
281
|
+
0
|
282
|
+
11
|
283
|
+
I
|
284
|
+
6
|
285
|
+
I
|
286
|
+
0
|
287
|
+
I
|
288
|
+
-1
|
289
|
+
I
|
290
|
+
-1
|
291
|
+
n
|
292
|
+
p
|
293
|
+
7
|
294
|
+
s
|
295
|
+
46
|
296
|
+
doesn't run out of stack space on a really big
|
297
|
+
M
|
298
|
+
1
|
299
|
+
n
|
300
|
+
n
|
301
|
+
x
|
302
|
+
9
|
303
|
+
__block__
|
304
|
+
i
|
305
|
+
38
|
306
|
+
5
|
307
|
+
53
|
308
|
+
0
|
309
|
+
44
|
310
|
+
47
|
311
|
+
1
|
312
|
+
0
|
313
|
+
14
|
314
|
+
5
|
315
|
+
7
|
316
|
+
2
|
317
|
+
60
|
318
|
+
53
|
319
|
+
3
|
320
|
+
44
|
321
|
+
47
|
322
|
+
4
|
323
|
+
1
|
324
|
+
14
|
325
|
+
5
|
326
|
+
7
|
327
|
+
5
|
328
|
+
60
|
329
|
+
53
|
330
|
+
6
|
331
|
+
44
|
332
|
+
47
|
333
|
+
4
|
334
|
+
1
|
335
|
+
14
|
336
|
+
5
|
337
|
+
53
|
338
|
+
7
|
339
|
+
44
|
340
|
+
47
|
341
|
+
8
|
342
|
+
0
|
343
|
+
11
|
344
|
+
I
|
345
|
+
4
|
346
|
+
I
|
347
|
+
0
|
348
|
+
I
|
349
|
+
-1
|
350
|
+
I
|
351
|
+
-1
|
352
|
+
n
|
353
|
+
p
|
354
|
+
9
|
355
|
+
M
|
356
|
+
1
|
357
|
+
n
|
358
|
+
n
|
359
|
+
x
|
360
|
+
9
|
361
|
+
__block__
|
362
|
+
i
|
363
|
+
12
|
364
|
+
42
|
365
|
+
0
|
366
|
+
1
|
367
|
+
74
|
368
|
+
7
|
369
|
+
2
|
370
|
+
46
|
371
|
+
3
|
372
|
+
2
|
373
|
+
35
|
374
|
+
4
|
375
|
+
11
|
376
|
+
I
|
377
|
+
4
|
378
|
+
I
|
379
|
+
0
|
380
|
+
I
|
381
|
+
-1
|
382
|
+
I
|
383
|
+
-1
|
384
|
+
n
|
385
|
+
p
|
386
|
+
5
|
387
|
+
x
|
388
|
+
7
|
389
|
+
Hamster
|
390
|
+
n
|
391
|
+
I
|
392
|
+
2710
|
393
|
+
x
|
394
|
+
8
|
395
|
+
interval
|
396
|
+
x
|
397
|
+
9
|
398
|
+
@interval
|
399
|
+
p
|
400
|
+
5
|
401
|
+
I
|
402
|
+
0
|
403
|
+
I
|
404
|
+
d
|
405
|
+
I
|
406
|
+
0
|
407
|
+
I
|
408
|
+
e
|
409
|
+
I
|
410
|
+
c
|
411
|
+
x
|
412
|
+
34
|
413
|
+
./spec/hamster/list/reduce_spec.rb
|
414
|
+
p
|
415
|
+
0
|
416
|
+
x
|
417
|
+
6
|
418
|
+
before
|
419
|
+
s
|
420
|
+
8
|
421
|
+
interval
|
422
|
+
M
|
423
|
+
1
|
424
|
+
n
|
425
|
+
n
|
426
|
+
x
|
427
|
+
9
|
428
|
+
__block__
|
429
|
+
i
|
430
|
+
5
|
431
|
+
36
|
432
|
+
0
|
433
|
+
35
|
434
|
+
1
|
435
|
+
11
|
436
|
+
I
|
437
|
+
2
|
438
|
+
I
|
439
|
+
0
|
440
|
+
I
|
441
|
+
-1
|
442
|
+
I
|
443
|
+
-1
|
444
|
+
n
|
445
|
+
p
|
446
|
+
2
|
447
|
+
x
|
448
|
+
9
|
449
|
+
@interval
|
450
|
+
x
|
451
|
+
5
|
452
|
+
@list
|
453
|
+
p
|
454
|
+
5
|
455
|
+
I
|
456
|
+
0
|
457
|
+
I
|
458
|
+
11
|
459
|
+
I
|
460
|
+
0
|
461
|
+
I
|
462
|
+
12
|
463
|
+
I
|
464
|
+
5
|
465
|
+
x
|
466
|
+
34
|
467
|
+
./spec/hamster/list/reduce_spec.rb
|
468
|
+
p
|
469
|
+
0
|
470
|
+
x
|
471
|
+
2
|
472
|
+
it
|
473
|
+
s
|
474
|
+
4
|
475
|
+
list
|
476
|
+
M
|
477
|
+
1
|
478
|
+
n
|
479
|
+
n
|
480
|
+
x
|
481
|
+
9
|
482
|
+
__block__
|
483
|
+
i
|
484
|
+
15
|
485
|
+
36
|
486
|
+
0
|
487
|
+
42
|
488
|
+
1
|
489
|
+
2
|
490
|
+
45
|
491
|
+
3
|
492
|
+
53
|
493
|
+
4
|
494
|
+
47
|
495
|
+
5
|
496
|
+
1
|
497
|
+
35
|
498
|
+
6
|
499
|
+
11
|
500
|
+
I
|
501
|
+
4
|
502
|
+
I
|
503
|
+
0
|
504
|
+
I
|
505
|
+
-1
|
506
|
+
I
|
507
|
+
-1
|
508
|
+
n
|
509
|
+
p
|
510
|
+
7
|
511
|
+
x
|
512
|
+
9
|
513
|
+
@interval
|
514
|
+
x
|
515
|
+
7
|
516
|
+
Hamster
|
517
|
+
n
|
518
|
+
x
|
519
|
+
4
|
520
|
+
list
|
521
|
+
M
|
522
|
+
1
|
523
|
+
n
|
524
|
+
n
|
525
|
+
x
|
526
|
+
9
|
527
|
+
__block__
|
528
|
+
i
|
529
|
+
19
|
530
|
+
55
|
531
|
+
33
|
532
|
+
34
|
533
|
+
17
|
534
|
+
0
|
535
|
+
14
|
536
|
+
34
|
537
|
+
17
|
538
|
+
1
|
539
|
+
14
|
540
|
+
14
|
541
|
+
18
|
542
|
+
0
|
543
|
+
18
|
544
|
+
1
|
545
|
+
46
|
546
|
+
0
|
547
|
+
1
|
548
|
+
11
|
549
|
+
I
|
550
|
+
5
|
551
|
+
I
|
552
|
+
2
|
553
|
+
I
|
554
|
+
2
|
555
|
+
I
|
556
|
+
2
|
557
|
+
n
|
558
|
+
p
|
559
|
+
1
|
560
|
+
x
|
561
|
+
4
|
562
|
+
cons
|
563
|
+
p
|
564
|
+
3
|
565
|
+
I
|
566
|
+
0
|
567
|
+
I
|
568
|
+
16
|
569
|
+
I
|
570
|
+
13
|
571
|
+
x
|
572
|
+
34
|
573
|
+
./spec/hamster/list/reduce_spec.rb
|
574
|
+
p
|
575
|
+
2
|
576
|
+
x
|
577
|
+
4
|
578
|
+
list
|
579
|
+
x
|
580
|
+
1
|
581
|
+
i
|
582
|
+
x
|
583
|
+
6
|
584
|
+
reduce
|
585
|
+
x
|
586
|
+
5
|
587
|
+
@list
|
588
|
+
p
|
589
|
+
5
|
590
|
+
I
|
591
|
+
0
|
592
|
+
I
|
593
|
+
15
|
594
|
+
I
|
595
|
+
0
|
596
|
+
I
|
597
|
+
16
|
598
|
+
I
|
599
|
+
f
|
600
|
+
x
|
601
|
+
34
|
602
|
+
./spec/hamster/list/reduce_spec.rb
|
603
|
+
p
|
604
|
+
0
|
605
|
+
M
|
606
|
+
1
|
607
|
+
n
|
608
|
+
n
|
609
|
+
x
|
610
|
+
9
|
611
|
+
__block__
|
612
|
+
i
|
613
|
+
11
|
614
|
+
36
|
615
|
+
0
|
616
|
+
19
|
617
|
+
3
|
618
|
+
0
|
619
|
+
53
|
620
|
+
1
|
621
|
+
47
|
622
|
+
2
|
623
|
+
1
|
624
|
+
11
|
625
|
+
I
|
626
|
+
4
|
627
|
+
I
|
628
|
+
0
|
629
|
+
I
|
630
|
+
-1
|
631
|
+
I
|
632
|
+
-1
|
633
|
+
n
|
634
|
+
p
|
635
|
+
3
|
636
|
+
x
|
637
|
+
5
|
638
|
+
@list
|
639
|
+
M
|
640
|
+
1
|
641
|
+
n
|
642
|
+
n
|
643
|
+
x
|
644
|
+
9
|
645
|
+
__block__
|
646
|
+
i
|
647
|
+
2
|
648
|
+
1
|
649
|
+
11
|
650
|
+
I
|
651
|
+
2
|
652
|
+
I
|
653
|
+
0
|
654
|
+
I
|
655
|
+
-1
|
656
|
+
I
|
657
|
+
-1
|
658
|
+
n
|
659
|
+
p
|
660
|
+
0
|
661
|
+
p
|
662
|
+
3
|
663
|
+
I
|
664
|
+
0
|
665
|
+
I
|
666
|
+
1a
|
667
|
+
I
|
668
|
+
2
|
669
|
+
x
|
670
|
+
34
|
671
|
+
./spec/hamster/list/reduce_spec.rb
|
672
|
+
p
|
673
|
+
0
|
674
|
+
x
|
675
|
+
4
|
676
|
+
send
|
677
|
+
p
|
678
|
+
5
|
679
|
+
I
|
680
|
+
0
|
681
|
+
I
|
682
|
+
19
|
683
|
+
I
|
684
|
+
0
|
685
|
+
I
|
686
|
+
1a
|
687
|
+
I
|
688
|
+
b
|
689
|
+
x
|
690
|
+
34
|
691
|
+
./spec/hamster/list/reduce_spec.rb
|
692
|
+
p
|
693
|
+
0
|
694
|
+
x
|
695
|
+
5
|
696
|
+
after
|
697
|
+
p
|
698
|
+
11
|
699
|
+
I
|
700
|
+
0
|
701
|
+
I
|
702
|
+
b
|
703
|
+
I
|
704
|
+
0
|
705
|
+
I
|
706
|
+
d
|
707
|
+
I
|
708
|
+
8
|
709
|
+
I
|
710
|
+
11
|
711
|
+
I
|
712
|
+
13
|
713
|
+
I
|
714
|
+
15
|
715
|
+
I
|
716
|
+
1e
|
717
|
+
I
|
718
|
+
19
|
719
|
+
I
|
720
|
+
26
|
721
|
+
x
|
722
|
+
34
|
723
|
+
./spec/hamster/list/reduce_spec.rb
|
724
|
+
p
|
725
|
+
0
|
726
|
+
x
|
727
|
+
8
|
728
|
+
describe
|
729
|
+
M
|
730
|
+
1
|
731
|
+
n
|
732
|
+
n
|
733
|
+
x
|
734
|
+
9
|
735
|
+
__block__
|
736
|
+
i
|
737
|
+
34
|
738
|
+
55
|
739
|
+
33
|
740
|
+
34
|
741
|
+
17
|
742
|
+
0
|
743
|
+
14
|
744
|
+
34
|
745
|
+
17
|
746
|
+
1
|
747
|
+
14
|
748
|
+
34
|
749
|
+
17
|
750
|
+
2
|
751
|
+
14
|
752
|
+
14
|
753
|
+
5
|
754
|
+
18
|
755
|
+
0
|
756
|
+
45
|
757
|
+
0
|
758
|
+
44
|
759
|
+
45
|
760
|
+
1
|
761
|
+
7
|
762
|
+
2
|
763
|
+
60
|
764
|
+
59
|
765
|
+
53
|
766
|
+
3
|
767
|
+
44
|
768
|
+
47
|
769
|
+
4
|
770
|
+
1
|
771
|
+
11
|
772
|
+
I
|
773
|
+
7
|
774
|
+
I
|
775
|
+
3
|
776
|
+
I
|
777
|
+
3
|
778
|
+
I
|
779
|
+
3
|
780
|
+
n
|
781
|
+
p
|
782
|
+
5
|
783
|
+
x
|
784
|
+
7
|
785
|
+
inspect
|
786
|
+
x
|
787
|
+
4
|
788
|
+
to_s
|
789
|
+
s
|
790
|
+
3
|
791
|
+
on
|
792
|
+
M
|
793
|
+
1
|
794
|
+
n
|
795
|
+
n
|
796
|
+
x
|
797
|
+
9
|
798
|
+
__block__
|
799
|
+
i
|
800
|
+
26
|
801
|
+
5
|
802
|
+
53
|
803
|
+
0
|
804
|
+
44
|
805
|
+
47
|
806
|
+
1
|
807
|
+
0
|
808
|
+
14
|
809
|
+
5
|
810
|
+
19
|
811
|
+
1
|
812
|
+
1
|
813
|
+
44
|
814
|
+
45
|
815
|
+
2
|
816
|
+
7
|
817
|
+
3
|
818
|
+
60
|
819
|
+
59
|
820
|
+
53
|
821
|
+
4
|
822
|
+
44
|
823
|
+
47
|
824
|
+
5
|
825
|
+
1
|
826
|
+
11
|
827
|
+
I
|
828
|
+
4
|
829
|
+
I
|
830
|
+
0
|
831
|
+
I
|
832
|
+
-1
|
833
|
+
I
|
834
|
+
-1
|
835
|
+
n
|
836
|
+
p
|
837
|
+
6
|
838
|
+
M
|
839
|
+
1
|
840
|
+
n
|
841
|
+
n
|
842
|
+
x
|
843
|
+
9
|
844
|
+
__block__
|
845
|
+
i
|
846
|
+
14
|
847
|
+
42
|
848
|
+
0
|
849
|
+
1
|
850
|
+
19
|
851
|
+
2
|
852
|
+
0
|
853
|
+
33
|
854
|
+
1
|
855
|
+
48
|
856
|
+
2
|
857
|
+
0
|
858
|
+
35
|
859
|
+
3
|
860
|
+
11
|
861
|
+
I
|
862
|
+
4
|
863
|
+
I
|
864
|
+
0
|
865
|
+
I
|
866
|
+
-1
|
867
|
+
I
|
868
|
+
-1
|
869
|
+
n
|
870
|
+
p
|
871
|
+
4
|
872
|
+
x
|
873
|
+
7
|
874
|
+
Hamster
|
875
|
+
n
|
876
|
+
x
|
877
|
+
4
|
878
|
+
list
|
879
|
+
x
|
880
|
+
5
|
881
|
+
@list
|
882
|
+
p
|
883
|
+
5
|
884
|
+
I
|
885
|
+
0
|
886
|
+
I
|
887
|
+
27
|
888
|
+
I
|
889
|
+
0
|
890
|
+
I
|
891
|
+
28
|
892
|
+
I
|
893
|
+
e
|
894
|
+
x
|
895
|
+
34
|
896
|
+
./spec/hamster/list/reduce_spec.rb
|
897
|
+
p
|
898
|
+
0
|
899
|
+
x
|
900
|
+
6
|
901
|
+
before
|
902
|
+
x
|
903
|
+
4
|
904
|
+
to_s
|
905
|
+
s
|
906
|
+
25
|
907
|
+
with an initial value of
|
908
|
+
M
|
909
|
+
1
|
910
|
+
n
|
911
|
+
n
|
912
|
+
x
|
913
|
+
9
|
914
|
+
__block__
|
915
|
+
i
|
916
|
+
22
|
917
|
+
5
|
918
|
+
7
|
919
|
+
0
|
920
|
+
60
|
921
|
+
53
|
922
|
+
1
|
923
|
+
44
|
924
|
+
47
|
925
|
+
2
|
926
|
+
1
|
927
|
+
14
|
928
|
+
5
|
929
|
+
7
|
930
|
+
3
|
931
|
+
60
|
932
|
+
53
|
933
|
+
4
|
934
|
+
44
|
935
|
+
47
|
936
|
+
2
|
937
|
+
1
|
938
|
+
11
|
939
|
+
I
|
940
|
+
4
|
941
|
+
I
|
942
|
+
0
|
943
|
+
I
|
944
|
+
-1
|
945
|
+
I
|
946
|
+
-1
|
947
|
+
n
|
948
|
+
p
|
949
|
+
5
|
950
|
+
s
|
951
|
+
11
|
952
|
+
and a block
|
953
|
+
M
|
954
|
+
1
|
955
|
+
n
|
956
|
+
n
|
957
|
+
x
|
958
|
+
9
|
959
|
+
__block__
|
960
|
+
i
|
961
|
+
20
|
962
|
+
5
|
963
|
+
19
|
964
|
+
3
|
965
|
+
2
|
966
|
+
45
|
967
|
+
0
|
968
|
+
44
|
969
|
+
45
|
970
|
+
1
|
971
|
+
7
|
972
|
+
2
|
973
|
+
60
|
974
|
+
59
|
975
|
+
53
|
976
|
+
3
|
977
|
+
44
|
978
|
+
47
|
979
|
+
4
|
980
|
+
1
|
981
|
+
11
|
982
|
+
I
|
983
|
+
4
|
984
|
+
I
|
985
|
+
0
|
986
|
+
I
|
987
|
+
-1
|
988
|
+
I
|
989
|
+
-1
|
990
|
+
n
|
991
|
+
p
|
992
|
+
5
|
993
|
+
x
|
994
|
+
7
|
995
|
+
inspect
|
996
|
+
x
|
997
|
+
4
|
998
|
+
to_s
|
999
|
+
s
|
1000
|
+
8
|
1001
|
+
returns
|
1002
|
+
M
|
1003
|
+
1
|
1004
|
+
n
|
1005
|
+
n
|
1006
|
+
x
|
1007
|
+
9
|
1008
|
+
__block__
|
1009
|
+
i
|
1010
|
+
21
|
1011
|
+
36
|
1012
|
+
0
|
1013
|
+
19
|
1014
|
+
6
|
1015
|
+
0
|
1016
|
+
19
|
1017
|
+
4
|
1018
|
+
1
|
1019
|
+
53
|
1020
|
+
1
|
1021
|
+
47
|
1022
|
+
2
|
1023
|
+
2
|
1024
|
+
45
|
1025
|
+
3
|
1026
|
+
19
|
1027
|
+
4
|
1028
|
+
2
|
1029
|
+
79
|
1030
|
+
4
|
1031
|
+
11
|
1032
|
+
I
|
1033
|
+
5
|
1034
|
+
I
|
1035
|
+
0
|
1036
|
+
I
|
1037
|
+
-1
|
1038
|
+
I
|
1039
|
+
-1
|
1040
|
+
n
|
1041
|
+
p
|
1042
|
+
5
|
1043
|
+
x
|
1044
|
+
5
|
1045
|
+
@list
|
1046
|
+
M
|
1047
|
+
1
|
1048
|
+
n
|
1049
|
+
n
|
1050
|
+
x
|
1051
|
+
9
|
1052
|
+
__block__
|
1053
|
+
i
|
1054
|
+
18
|
1055
|
+
55
|
1056
|
+
33
|
1057
|
+
34
|
1058
|
+
17
|
1059
|
+
0
|
1060
|
+
14
|
1061
|
+
34
|
1062
|
+
17
|
1063
|
+
1
|
1064
|
+
14
|
1065
|
+
14
|
1066
|
+
18
|
1067
|
+
0
|
1068
|
+
18
|
1069
|
+
1
|
1070
|
+
78
|
1071
|
+
0
|
1072
|
+
11
|
1073
|
+
I
|
1074
|
+
5
|
1075
|
+
I
|
1076
|
+
2
|
1077
|
+
I
|
1078
|
+
2
|
1079
|
+
I
|
1080
|
+
2
|
1081
|
+
n
|
1082
|
+
p
|
1083
|
+
1
|
1084
|
+
x
|
1085
|
+
1
|
1086
|
+
-
|
1087
|
+
p
|
1088
|
+
3
|
1089
|
+
I
|
1090
|
+
0
|
1091
|
+
I
|
1092
|
+
30
|
1093
|
+
I
|
1094
|
+
12
|
1095
|
+
x
|
1096
|
+
34
|
1097
|
+
./spec/hamster/list/reduce_spec.rb
|
1098
|
+
p
|
1099
|
+
2
|
1100
|
+
x
|
1101
|
+
4
|
1102
|
+
memo
|
1103
|
+
x
|
1104
|
+
4
|
1105
|
+
item
|
1106
|
+
x
|
1107
|
+
4
|
1108
|
+
send
|
1109
|
+
x
|
1110
|
+
6
|
1111
|
+
should
|
1112
|
+
x
|
1113
|
+
2
|
1114
|
+
==
|
1115
|
+
p
|
1116
|
+
5
|
1117
|
+
I
|
1118
|
+
0
|
1119
|
+
I
|
1120
|
+
2f
|
1121
|
+
I
|
1122
|
+
0
|
1123
|
+
I
|
1124
|
+
30
|
1125
|
+
I
|
1126
|
+
15
|
1127
|
+
x
|
1128
|
+
34
|
1129
|
+
./spec/hamster/list/reduce_spec.rb
|
1130
|
+
p
|
1131
|
+
0
|
1132
|
+
x
|
1133
|
+
2
|
1134
|
+
it
|
1135
|
+
p
|
1136
|
+
5
|
1137
|
+
I
|
1138
|
+
0
|
1139
|
+
I
|
1140
|
+
2d
|
1141
|
+
I
|
1142
|
+
0
|
1143
|
+
I
|
1144
|
+
2f
|
1145
|
+
I
|
1146
|
+
14
|
1147
|
+
x
|
1148
|
+
34
|
1149
|
+
./spec/hamster/list/reduce_spec.rb
|
1150
|
+
p
|
1151
|
+
0
|
1152
|
+
x
|
1153
|
+
8
|
1154
|
+
describe
|
1155
|
+
s
|
1156
|
+
12
|
1157
|
+
and no block
|
1158
|
+
M
|
1159
|
+
1
|
1160
|
+
n
|
1161
|
+
n
|
1162
|
+
x
|
1163
|
+
9
|
1164
|
+
__block__
|
1165
|
+
i
|
1166
|
+
11
|
1167
|
+
5
|
1168
|
+
7
|
1169
|
+
0
|
1170
|
+
60
|
1171
|
+
53
|
1172
|
+
1
|
1173
|
+
44
|
1174
|
+
47
|
1175
|
+
2
|
1176
|
+
1
|
1177
|
+
11
|
1178
|
+
I
|
1179
|
+
4
|
1180
|
+
I
|
1181
|
+
0
|
1182
|
+
I
|
1183
|
+
-1
|
1184
|
+
I
|
1185
|
+
-1
|
1186
|
+
n
|
1187
|
+
p
|
1188
|
+
3
|
1189
|
+
s
|
1190
|
+
16
|
1191
|
+
returns the memo
|
1192
|
+
M
|
1193
|
+
1
|
1194
|
+
n
|
1195
|
+
n
|
1196
|
+
x
|
1197
|
+
9
|
1198
|
+
__block__
|
1199
|
+
i
|
1200
|
+
19
|
1201
|
+
36
|
1202
|
+
0
|
1203
|
+
19
|
1204
|
+
6
|
1205
|
+
0
|
1206
|
+
19
|
1207
|
+
4
|
1208
|
+
1
|
1209
|
+
46
|
1210
|
+
1
|
1211
|
+
2
|
1212
|
+
45
|
1213
|
+
2
|
1214
|
+
19
|
1215
|
+
4
|
1216
|
+
1
|
1217
|
+
79
|
1218
|
+
3
|
1219
|
+
11
|
1220
|
+
I
|
1221
|
+
4
|
1222
|
+
I
|
1223
|
+
0
|
1224
|
+
I
|
1225
|
+
-1
|
1226
|
+
I
|
1227
|
+
-1
|
1228
|
+
n
|
1229
|
+
p
|
1230
|
+
4
|
1231
|
+
x
|
1232
|
+
5
|
1233
|
+
@list
|
1234
|
+
x
|
1235
|
+
4
|
1236
|
+
send
|
1237
|
+
x
|
1238
|
+
6
|
1239
|
+
should
|
1240
|
+
x
|
1241
|
+
2
|
1242
|
+
==
|
1243
|
+
p
|
1244
|
+
5
|
1245
|
+
I
|
1246
|
+
0
|
1247
|
+
I
|
1248
|
+
37
|
1249
|
+
I
|
1250
|
+
0
|
1251
|
+
I
|
1252
|
+
38
|
1253
|
+
I
|
1254
|
+
13
|
1255
|
+
x
|
1256
|
+
34
|
1257
|
+
./spec/hamster/list/reduce_spec.rb
|
1258
|
+
p
|
1259
|
+
0
|
1260
|
+
x
|
1261
|
+
2
|
1262
|
+
it
|
1263
|
+
p
|
1264
|
+
5
|
1265
|
+
I
|
1266
|
+
0
|
1267
|
+
I
|
1268
|
+
35
|
1269
|
+
I
|
1270
|
+
0
|
1271
|
+
I
|
1272
|
+
37
|
1273
|
+
I
|
1274
|
+
b
|
1275
|
+
x
|
1276
|
+
34
|
1277
|
+
./spec/hamster/list/reduce_spec.rb
|
1278
|
+
p
|
1279
|
+
0
|
1280
|
+
p
|
1281
|
+
7
|
1282
|
+
I
|
1283
|
+
0
|
1284
|
+
I
|
1285
|
+
2b
|
1286
|
+
I
|
1287
|
+
0
|
1288
|
+
I
|
1289
|
+
2d
|
1290
|
+
I
|
1291
|
+
b
|
1292
|
+
I
|
1293
|
+
35
|
1294
|
+
I
|
1295
|
+
16
|
1296
|
+
x
|
1297
|
+
34
|
1298
|
+
./spec/hamster/list/reduce_spec.rb
|
1299
|
+
p
|
1300
|
+
0
|
1301
|
+
x
|
1302
|
+
8
|
1303
|
+
describe
|
1304
|
+
p
|
1305
|
+
7
|
1306
|
+
I
|
1307
|
+
0
|
1308
|
+
I
|
1309
|
+
25
|
1310
|
+
I
|
1311
|
+
0
|
1312
|
+
I
|
1313
|
+
27
|
1314
|
+
I
|
1315
|
+
8
|
1316
|
+
I
|
1317
|
+
2b
|
1318
|
+
I
|
1319
|
+
1a
|
1320
|
+
x
|
1321
|
+
34
|
1322
|
+
./spec/hamster/list/reduce_spec.rb
|
1323
|
+
p
|
1324
|
+
0
|
1325
|
+
x
|
1326
|
+
8
|
1327
|
+
describe
|
1328
|
+
p
|
1329
|
+
7
|
1330
|
+
I
|
1331
|
+
0
|
1332
|
+
I
|
1333
|
+
20
|
1334
|
+
I
|
1335
|
+
3
|
1336
|
+
I
|
1337
|
+
23
|
1338
|
+
I
|
1339
|
+
f
|
1340
|
+
I
|
1341
|
+
25
|
1342
|
+
I
|
1343
|
+
22
|
1344
|
+
x
|
1345
|
+
34
|
1346
|
+
./spec/hamster/list/reduce_spec.rb
|
1347
|
+
p
|
1348
|
+
3
|
1349
|
+
x
|
1350
|
+
6
|
1351
|
+
values
|
1352
|
+
x
|
1353
|
+
7
|
1354
|
+
initial
|
1355
|
+
x
|
1356
|
+
8
|
1357
|
+
expected
|
1358
|
+
x
|
1359
|
+
4
|
1360
|
+
each
|
1361
|
+
I
|
1362
|
+
-4
|
1363
|
+
M
|
1364
|
+
1
|
1365
|
+
n
|
1366
|
+
n
|
1367
|
+
x
|
1368
|
+
9
|
1369
|
+
__block__
|
1370
|
+
i
|
1371
|
+
30
|
1372
|
+
55
|
1373
|
+
33
|
1374
|
+
34
|
1375
|
+
17
|
1376
|
+
0
|
1377
|
+
14
|
1378
|
+
34
|
1379
|
+
17
|
1380
|
+
1
|
1381
|
+
14
|
1382
|
+
14
|
1383
|
+
5
|
1384
|
+
18
|
1385
|
+
0
|
1386
|
+
45
|
1387
|
+
0
|
1388
|
+
44
|
1389
|
+
45
|
1390
|
+
1
|
1391
|
+
7
|
1392
|
+
2
|
1393
|
+
60
|
1394
|
+
59
|
1395
|
+
53
|
1396
|
+
3
|
1397
|
+
44
|
1398
|
+
47
|
1399
|
+
4
|
1400
|
+
1
|
1401
|
+
11
|
1402
|
+
I
|
1403
|
+
6
|
1404
|
+
I
|
1405
|
+
2
|
1406
|
+
I
|
1407
|
+
2
|
1408
|
+
I
|
1409
|
+
2
|
1410
|
+
n
|
1411
|
+
p
|
1412
|
+
5
|
1413
|
+
x
|
1414
|
+
7
|
1415
|
+
inspect
|
1416
|
+
x
|
1417
|
+
4
|
1418
|
+
to_s
|
1419
|
+
s
|
1420
|
+
3
|
1421
|
+
on
|
1422
|
+
M
|
1423
|
+
1
|
1424
|
+
n
|
1425
|
+
n
|
1426
|
+
x
|
1427
|
+
9
|
1428
|
+
__block__
|
1429
|
+
i
|
1430
|
+
19
|
1431
|
+
5
|
1432
|
+
53
|
1433
|
+
0
|
1434
|
+
44
|
1435
|
+
47
|
1436
|
+
1
|
1437
|
+
0
|
1438
|
+
14
|
1439
|
+
5
|
1440
|
+
7
|
1441
|
+
2
|
1442
|
+
60
|
1443
|
+
53
|
1444
|
+
3
|
1445
|
+
44
|
1446
|
+
47
|
1447
|
+
4
|
1448
|
+
1
|
1449
|
+
11
|
1450
|
+
I
|
1451
|
+
4
|
1452
|
+
I
|
1453
|
+
0
|
1454
|
+
I
|
1455
|
+
-1
|
1456
|
+
I
|
1457
|
+
-1
|
1458
|
+
n
|
1459
|
+
p
|
1460
|
+
5
|
1461
|
+
M
|
1462
|
+
1
|
1463
|
+
n
|
1464
|
+
n
|
1465
|
+
x
|
1466
|
+
9
|
1467
|
+
__block__
|
1468
|
+
i
|
1469
|
+
14
|
1470
|
+
42
|
1471
|
+
0
|
1472
|
+
1
|
1473
|
+
19
|
1474
|
+
2
|
1475
|
+
0
|
1476
|
+
33
|
1477
|
+
1
|
1478
|
+
48
|
1479
|
+
2
|
1480
|
+
0
|
1481
|
+
35
|
1482
|
+
3
|
1483
|
+
11
|
1484
|
+
I
|
1485
|
+
4
|
1486
|
+
I
|
1487
|
+
0
|
1488
|
+
I
|
1489
|
+
-1
|
1490
|
+
I
|
1491
|
+
-1
|
1492
|
+
n
|
1493
|
+
p
|
1494
|
+
4
|
1495
|
+
x
|
1496
|
+
7
|
1497
|
+
Hamster
|
1498
|
+
n
|
1499
|
+
x
|
1500
|
+
4
|
1501
|
+
list
|
1502
|
+
x
|
1503
|
+
5
|
1504
|
+
@list
|
1505
|
+
p
|
1506
|
+
5
|
1507
|
+
I
|
1508
|
+
0
|
1509
|
+
I
|
1510
|
+
4b
|
1511
|
+
I
|
1512
|
+
0
|
1513
|
+
I
|
1514
|
+
4c
|
1515
|
+
I
|
1516
|
+
e
|
1517
|
+
x
|
1518
|
+
34
|
1519
|
+
./spec/hamster/list/reduce_spec.rb
|
1520
|
+
p
|
1521
|
+
0
|
1522
|
+
x
|
1523
|
+
6
|
1524
|
+
before
|
1525
|
+
s
|
1526
|
+
21
|
1527
|
+
with no initial value
|
1528
|
+
M
|
1529
|
+
1
|
1530
|
+
n
|
1531
|
+
n
|
1532
|
+
x
|
1533
|
+
9
|
1534
|
+
__block__
|
1535
|
+
i
|
1536
|
+
22
|
1537
|
+
5
|
1538
|
+
7
|
1539
|
+
0
|
1540
|
+
60
|
1541
|
+
53
|
1542
|
+
1
|
1543
|
+
44
|
1544
|
+
47
|
1545
|
+
2
|
1546
|
+
1
|
1547
|
+
14
|
1548
|
+
5
|
1549
|
+
7
|
1550
|
+
3
|
1551
|
+
60
|
1552
|
+
53
|
1553
|
+
4
|
1554
|
+
44
|
1555
|
+
47
|
1556
|
+
2
|
1557
|
+
1
|
1558
|
+
11
|
1559
|
+
I
|
1560
|
+
4
|
1561
|
+
I
|
1562
|
+
0
|
1563
|
+
I
|
1564
|
+
-1
|
1565
|
+
I
|
1566
|
+
-1
|
1567
|
+
n
|
1568
|
+
p
|
1569
|
+
5
|
1570
|
+
s
|
1571
|
+
11
|
1572
|
+
and a block
|
1573
|
+
M
|
1574
|
+
1
|
1575
|
+
n
|
1576
|
+
n
|
1577
|
+
x
|
1578
|
+
9
|
1579
|
+
__block__
|
1580
|
+
i
|
1581
|
+
20
|
1582
|
+
5
|
1583
|
+
19
|
1584
|
+
3
|
1585
|
+
1
|
1586
|
+
45
|
1587
|
+
0
|
1588
|
+
44
|
1589
|
+
45
|
1590
|
+
1
|
1591
|
+
7
|
1592
|
+
2
|
1593
|
+
60
|
1594
|
+
59
|
1595
|
+
53
|
1596
|
+
3
|
1597
|
+
44
|
1598
|
+
47
|
1599
|
+
4
|
1600
|
+
1
|
1601
|
+
11
|
1602
|
+
I
|
1603
|
+
4
|
1604
|
+
I
|
1605
|
+
0
|
1606
|
+
I
|
1607
|
+
-1
|
1608
|
+
I
|
1609
|
+
-1
|
1610
|
+
n
|
1611
|
+
p
|
1612
|
+
5
|
1613
|
+
x
|
1614
|
+
7
|
1615
|
+
inspect
|
1616
|
+
x
|
1617
|
+
4
|
1618
|
+
to_s
|
1619
|
+
s
|
1620
|
+
8
|
1621
|
+
returns
|
1622
|
+
M
|
1623
|
+
1
|
1624
|
+
n
|
1625
|
+
n
|
1626
|
+
x
|
1627
|
+
9
|
1628
|
+
__block__
|
1629
|
+
i
|
1630
|
+
18
|
1631
|
+
36
|
1632
|
+
0
|
1633
|
+
19
|
1634
|
+
6
|
1635
|
+
0
|
1636
|
+
53
|
1637
|
+
1
|
1638
|
+
47
|
1639
|
+
2
|
1640
|
+
1
|
1641
|
+
45
|
1642
|
+
3
|
1643
|
+
19
|
1644
|
+
4
|
1645
|
+
1
|
1646
|
+
79
|
1647
|
+
4
|
1648
|
+
11
|
1649
|
+
I
|
1650
|
+
4
|
1651
|
+
I
|
1652
|
+
0
|
1653
|
+
I
|
1654
|
+
-1
|
1655
|
+
I
|
1656
|
+
-1
|
1657
|
+
n
|
1658
|
+
p
|
1659
|
+
5
|
1660
|
+
x
|
1661
|
+
5
|
1662
|
+
@list
|
1663
|
+
M
|
1664
|
+
1
|
1665
|
+
n
|
1666
|
+
n
|
1667
|
+
x
|
1668
|
+
9
|
1669
|
+
__block__
|
1670
|
+
i
|
1671
|
+
18
|
1672
|
+
55
|
1673
|
+
33
|
1674
|
+
34
|
1675
|
+
17
|
1676
|
+
0
|
1677
|
+
14
|
1678
|
+
34
|
1679
|
+
17
|
1680
|
+
1
|
1681
|
+
14
|
1682
|
+
14
|
1683
|
+
18
|
1684
|
+
0
|
1685
|
+
18
|
1686
|
+
1
|
1687
|
+
78
|
1688
|
+
0
|
1689
|
+
11
|
1690
|
+
I
|
1691
|
+
5
|
1692
|
+
I
|
1693
|
+
2
|
1694
|
+
I
|
1695
|
+
2
|
1696
|
+
I
|
1697
|
+
2
|
1698
|
+
n
|
1699
|
+
p
|
1700
|
+
1
|
1701
|
+
x
|
1702
|
+
1
|
1703
|
+
-
|
1704
|
+
p
|
1705
|
+
3
|
1706
|
+
I
|
1707
|
+
0
|
1708
|
+
I
|
1709
|
+
54
|
1710
|
+
I
|
1711
|
+
12
|
1712
|
+
x
|
1713
|
+
34
|
1714
|
+
./spec/hamster/list/reduce_spec.rb
|
1715
|
+
p
|
1716
|
+
2
|
1717
|
+
x
|
1718
|
+
4
|
1719
|
+
memo
|
1720
|
+
x
|
1721
|
+
4
|
1722
|
+
item
|
1723
|
+
x
|
1724
|
+
4
|
1725
|
+
send
|
1726
|
+
x
|
1727
|
+
6
|
1728
|
+
should
|
1729
|
+
x
|
1730
|
+
2
|
1731
|
+
==
|
1732
|
+
p
|
1733
|
+
5
|
1734
|
+
I
|
1735
|
+
0
|
1736
|
+
I
|
1737
|
+
53
|
1738
|
+
I
|
1739
|
+
0
|
1740
|
+
I
|
1741
|
+
54
|
1742
|
+
I
|
1743
|
+
12
|
1744
|
+
x
|
1745
|
+
34
|
1746
|
+
./spec/hamster/list/reduce_spec.rb
|
1747
|
+
p
|
1748
|
+
0
|
1749
|
+
x
|
1750
|
+
2
|
1751
|
+
it
|
1752
|
+
p
|
1753
|
+
5
|
1754
|
+
I
|
1755
|
+
0
|
1756
|
+
I
|
1757
|
+
51
|
1758
|
+
I
|
1759
|
+
0
|
1760
|
+
I
|
1761
|
+
53
|
1762
|
+
I
|
1763
|
+
14
|
1764
|
+
x
|
1765
|
+
34
|
1766
|
+
./spec/hamster/list/reduce_spec.rb
|
1767
|
+
p
|
1768
|
+
0
|
1769
|
+
x
|
1770
|
+
8
|
1771
|
+
describe
|
1772
|
+
s
|
1773
|
+
12
|
1774
|
+
and no block
|
1775
|
+
M
|
1776
|
+
1
|
1777
|
+
n
|
1778
|
+
n
|
1779
|
+
x
|
1780
|
+
9
|
1781
|
+
__block__
|
1782
|
+
i
|
1783
|
+
11
|
1784
|
+
5
|
1785
|
+
7
|
1786
|
+
0
|
1787
|
+
60
|
1788
|
+
53
|
1789
|
+
1
|
1790
|
+
44
|
1791
|
+
47
|
1792
|
+
2
|
1793
|
+
1
|
1794
|
+
11
|
1795
|
+
I
|
1796
|
+
4
|
1797
|
+
I
|
1798
|
+
0
|
1799
|
+
I
|
1800
|
+
-1
|
1801
|
+
I
|
1802
|
+
-1
|
1803
|
+
n
|
1804
|
+
p
|
1805
|
+
3
|
1806
|
+
s
|
1807
|
+
35
|
1808
|
+
returns the first value in the list
|
1809
|
+
M
|
1810
|
+
1
|
1811
|
+
n
|
1812
|
+
n
|
1813
|
+
x
|
1814
|
+
9
|
1815
|
+
__block__
|
1816
|
+
i
|
1817
|
+
18
|
1818
|
+
36
|
1819
|
+
0
|
1820
|
+
19
|
1821
|
+
6
|
1822
|
+
0
|
1823
|
+
46
|
1824
|
+
1
|
1825
|
+
1
|
1826
|
+
45
|
1827
|
+
2
|
1828
|
+
19
|
1829
|
+
4
|
1830
|
+
0
|
1831
|
+
45
|
1832
|
+
3
|
1833
|
+
79
|
1834
|
+
4
|
1835
|
+
11
|
1836
|
+
I
|
1837
|
+
3
|
1838
|
+
I
|
1839
|
+
0
|
1840
|
+
I
|
1841
|
+
-1
|
1842
|
+
I
|
1843
|
+
-1
|
1844
|
+
n
|
1845
|
+
p
|
1846
|
+
5
|
1847
|
+
x
|
1848
|
+
5
|
1849
|
+
@list
|
1850
|
+
x
|
1851
|
+
4
|
1852
|
+
send
|
1853
|
+
x
|
1854
|
+
6
|
1855
|
+
should
|
1856
|
+
x
|
1857
|
+
5
|
1858
|
+
first
|
1859
|
+
x
|
1860
|
+
2
|
1861
|
+
==
|
1862
|
+
p
|
1863
|
+
5
|
1864
|
+
I
|
1865
|
+
0
|
1866
|
+
I
|
1867
|
+
5b
|
1868
|
+
I
|
1869
|
+
0
|
1870
|
+
I
|
1871
|
+
5c
|
1872
|
+
I
|
1873
|
+
12
|
1874
|
+
x
|
1875
|
+
34
|
1876
|
+
./spec/hamster/list/reduce_spec.rb
|
1877
|
+
p
|
1878
|
+
0
|
1879
|
+
x
|
1880
|
+
2
|
1881
|
+
it
|
1882
|
+
p
|
1883
|
+
5
|
1884
|
+
I
|
1885
|
+
0
|
1886
|
+
I
|
1887
|
+
59
|
1888
|
+
I
|
1889
|
+
0
|
1890
|
+
I
|
1891
|
+
5b
|
1892
|
+
I
|
1893
|
+
b
|
1894
|
+
x
|
1895
|
+
34
|
1896
|
+
./spec/hamster/list/reduce_spec.rb
|
1897
|
+
p
|
1898
|
+
0
|
1899
|
+
p
|
1900
|
+
7
|
1901
|
+
I
|
1902
|
+
0
|
1903
|
+
I
|
1904
|
+
4f
|
1905
|
+
I
|
1906
|
+
0
|
1907
|
+
I
|
1908
|
+
51
|
1909
|
+
I
|
1910
|
+
b
|
1911
|
+
I
|
1912
|
+
59
|
1913
|
+
I
|
1914
|
+
16
|
1915
|
+
x
|
1916
|
+
34
|
1917
|
+
./spec/hamster/list/reduce_spec.rb
|
1918
|
+
p
|
1919
|
+
0
|
1920
|
+
x
|
1921
|
+
8
|
1922
|
+
describe
|
1923
|
+
p
|
1924
|
+
7
|
1925
|
+
I
|
1926
|
+
0
|
1927
|
+
I
|
1928
|
+
49
|
1929
|
+
I
|
1930
|
+
0
|
1931
|
+
I
|
1932
|
+
4b
|
1933
|
+
I
|
1934
|
+
8
|
1935
|
+
I
|
1936
|
+
4f
|
1937
|
+
I
|
1938
|
+
13
|
1939
|
+
x
|
1940
|
+
34
|
1941
|
+
./spec/hamster/list/reduce_spec.rb
|
1942
|
+
p
|
1943
|
+
0
|
1944
|
+
x
|
1945
|
+
8
|
1946
|
+
describe
|
1947
|
+
p
|
1948
|
+
7
|
1949
|
+
I
|
1950
|
+
0
|
1951
|
+
I
|
1952
|
+
44
|
1953
|
+
I
|
1954
|
+
3
|
1955
|
+
I
|
1956
|
+
47
|
1957
|
+
I
|
1958
|
+
b
|
1959
|
+
I
|
1960
|
+
49
|
1961
|
+
I
|
1962
|
+
1e
|
1963
|
+
x
|
1964
|
+
34
|
1965
|
+
./spec/hamster/list/reduce_spec.rb
|
1966
|
+
p
|
1967
|
+
2
|
1968
|
+
x
|
1969
|
+
6
|
1970
|
+
values
|
1971
|
+
x
|
1972
|
+
8
|
1973
|
+
expected
|
1974
|
+
p
|
1975
|
+
17
|
1976
|
+
I
|
1977
|
+
0
|
1978
|
+
I
|
1979
|
+
9
|
1980
|
+
I
|
1981
|
+
0
|
1982
|
+
I
|
1983
|
+
b
|
1984
|
+
I
|
1985
|
+
b
|
1986
|
+
I
|
1987
|
+
20
|
1988
|
+
I
|
1989
|
+
13
|
1990
|
+
I
|
1991
|
+
21
|
1992
|
+
I
|
1993
|
+
1c
|
1994
|
+
I
|
1995
|
+
22
|
1996
|
+
I
|
1997
|
+
30
|
1998
|
+
I
|
1999
|
+
44
|
2000
|
+
I
|
2001
|
+
35
|
2002
|
+
I
|
2003
|
+
45
|
2004
|
+
I
|
2005
|
+
3b
|
2006
|
+
I
|
2007
|
+
46
|
2008
|
+
I
|
2009
|
+
4d
|
2010
|
+
x
|
2011
|
+
34
|
2012
|
+
./spec/hamster/list/reduce_spec.rb
|
2013
|
+
p
|
2014
|
+
0
|
2015
|
+
x
|
2016
|
+
8
|
2017
|
+
describe
|
2018
|
+
p
|
2019
|
+
5
|
2020
|
+
I
|
2021
|
+
0
|
2022
|
+
I
|
2023
|
+
7
|
2024
|
+
I
|
2025
|
+
4
|
2026
|
+
I
|
2027
|
+
9
|
2028
|
+
I
|
2029
|
+
15
|
2030
|
+
x
|
2031
|
+
34
|
2032
|
+
./spec/hamster/list/reduce_spec.rb
|
2033
|
+
p
|
2034
|
+
1
|
2035
|
+
x
|
2036
|
+
6
|
2037
|
+
method
|
2038
|
+
x
|
2039
|
+
4
|
2040
|
+
each
|
2041
|
+
p
|
2042
|
+
5
|
2043
|
+
I
|
2044
|
+
0
|
2045
|
+
I
|
2046
|
+
5
|
2047
|
+
I
|
2048
|
+
0
|
2049
|
+
I
|
2050
|
+
7
|
2051
|
+
I
|
2052
|
+
e
|
2053
|
+
x
|
2054
|
+
34
|
2055
|
+
./spec/hamster/list/reduce_spec.rb
|
2056
|
+
p
|
2057
|
+
0
|
2058
|
+
x
|
2059
|
+
8
|
2060
|
+
describe
|
2061
|
+
p
|
2062
|
+
7
|
2063
|
+
I
|
2064
|
+
0
|
2065
|
+
I
|
2066
|
+
1
|
2067
|
+
I
|
2068
|
+
1a
|
2069
|
+
I
|
2070
|
+
3
|
2071
|
+
I
|
2072
|
+
23
|
2073
|
+
I
|
2074
|
+
5
|
2075
|
+
I
|
2076
|
+
32
|
2077
|
+
x
|
2078
|
+
34
|
2079
|
+
./spec/hamster/list/reduce_spec.rb
|
2080
|
+
p
|
2081
|
+
0
|