hamster 0.2.4 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- data/History.rdoc +8 -0
- data/lib/hamster.rbc +133 -0
- data/lib/hamster/core_ext.rbc +69 -0
- data/lib/hamster/core_ext/enumerable.rbc +481 -0
- data/lib/hamster/core_ext/io.rbc +652 -0
- data/lib/hamster/hash.rb +4 -11
- data/lib/hamster/hash.rbc +3537 -0
- data/lib/hamster/list.rb +15 -5
- data/lib/hamster/list.rbc +14428 -0
- data/lib/hamster/set.rb +13 -12
- data/lib/hamster/set.rbc +5541 -0
- data/lib/hamster/stack.rbc +1623 -0
- data/lib/hamster/trie.rbc +3449 -0
- data/lib/hamster/tuple.rbc +800 -0
- data/lib/hamster/version.rb +1 -1
- data/lib/hamster/version.rbc +143 -0
- data/spec/hamster/core_ext/enumerable_spec.rbc +751 -0
- data/spec/hamster/core_ext/io_spec.rbc +413 -0
- data/spec/hamster/hash/all_spec.rbc +1312 -0
- data/spec/hamster/hash/any_spec.rbc +1501 -0
- data/spec/hamster/hash/construction_spec.rbc +750 -0
- data/spec/hamster/hash/copying_spec.rbc +524 -0
- data/spec/hamster/hash/delete_spec.rbc +1146 -0
- data/spec/hamster/hash/each_spec.rbc +997 -0
- data/spec/hamster/hash/empty_spec.rbc +597 -0
- data/spec/hamster/hash/eql_spec.rbc +1704 -0
- data/spec/hamster/hash/filter_spec.rbc +1450 -0
- data/spec/hamster/hash/get_spec.rbc +793 -0
- data/spec/hamster/hash/has_key_spec.rbc +720 -0
- data/spec/hamster/hash/inspect_spec.rbc +658 -0
- data/spec/hamster/hash/map_spec.rbc +1471 -0
- data/spec/hamster/hash/none_spec.rbc +1404 -0
- data/spec/hamster/hash/put_spec.rbc +1346 -0
- data/spec/hamster/hash/reduce_spec.rbc +1255 -0
- data/spec/hamster/hash/remove_spec.rbc +1467 -0
- data/spec/hamster/hash/size_spec.rbc +598 -0
- data/spec/hamster/hash/uniq_spec.rbc +529 -0
- data/spec/hamster/list/all_spec.rbc +2158 -0
- data/spec/hamster/list/any_spec.rbc +1751 -0
- data/spec/hamster/list/append_spec.rbc +1193 -0
- data/spec/hamster/list/at_spec.rb +49 -0
- data/spec/hamster/list/break_spec.rbc +1804 -0
- data/spec/hamster/list/cadr_spec.rbc +1065 -0
- data/spec/hamster/list/chunk_spec.rbc +920 -0
- data/spec/hamster/list/clear_spec.rb +1 -1
- data/spec/hamster/list/clear_spec.rbc +635 -0
- data/spec/hamster/list/combinations_spec.rbc +1308 -0
- data/spec/hamster/list/compact_spec.rbc +987 -0
- data/spec/hamster/list/cons_spec.rbc +853 -0
- data/spec/hamster/list/construction_spec.rbc +2532 -0
- data/spec/hamster/list/copying_spec.rbc +576 -0
- data/spec/hamster/list/count_spec.rbc +1216 -0
- data/spec/hamster/list/cycle_spec.rbc +1003 -0
- data/spec/hamster/list/drop_spec.rbc +949 -0
- data/spec/hamster/list/drop_while_spec.rbc +1289 -0
- data/spec/hamster/list/each_slice_spec.rbc +1659 -0
- data/spec/hamster/list/each_spec.rbc +1403 -0
- data/spec/hamster/list/empty_spec.rbc +947 -0
- data/spec/hamster/list/eql_spec.rbc +1669 -0
- data/spec/hamster/list/filter_spec.rbc +1379 -0
- data/spec/hamster/list/find_spec.rbc +1322 -0
- data/spec/hamster/list/flatten_spec.rbc +954 -0
- data/spec/hamster/list/grep_spec.rbc +1517 -0
- data/spec/hamster/list/group_by_spec.rbc +1536 -0
- data/spec/hamster/list/head_spec.rbc +948 -0
- data/spec/hamster/list/include_spec.rb +4 -0
- data/spec/hamster/list/include_spec.rbc +1044 -0
- data/spec/hamster/list/init_spec.rbc +877 -0
- data/spec/hamster/list/inits_spec.rbc +988 -0
- data/spec/hamster/list/inspect_spec.rbc +855 -0
- data/spec/hamster/list/intersperse_spec.rbc +912 -0
- data/spec/hamster/list/join_spec.rbc +1357 -0
- data/spec/hamster/list/last_spec.rbc +856 -0
- data/spec/hamster/list/map_spec.rbc +1548 -0
- data/spec/hamster/list/maximum_spec.rbc +1498 -0
- data/spec/hamster/list/minimum_spec.rbc +1498 -0
- data/spec/hamster/list/none_spec.rbc +1647 -0
- data/spec/hamster/list/one_spec.rbc +1664 -0
- data/spec/hamster/list/partition_spec.rbc +1528 -0
- data/spec/hamster/list/product_spec.rbc +844 -0
- data/spec/hamster/list/reduce_spec.rbc +1943 -0
- data/spec/hamster/list/remove_spec.rbc +1518 -0
- data/spec/hamster/list/reverse_spec.rbc +1204 -0
- data/spec/hamster/list/size_spec.rbc +920 -0
- data/spec/hamster/list/slice_spec.rb +50 -0
- data/spec/hamster/list/sorting_spec.rbc +1612 -0
- data/spec/hamster/list/span_spec.rbc +1798 -0
- data/spec/hamster/list/split_at_spec.rbc +1139 -0
- data/spec/hamster/list/sum_spec.rbc +842 -0
- data/spec/hamster/list/tail_spec.rbc +994 -0
- data/spec/hamster/list/tails_spec.rbc +988 -0
- data/spec/hamster/list/take_spec.rbc +943 -0
- data/spec/hamster/list/take_while_spec.rbc +1399 -0
- data/spec/hamster/list/to_a_spec.rbc +1140 -0
- data/spec/hamster/list/to_ary_spec.rbc +1128 -0
- data/spec/hamster/list/to_list_spec.rbc +561 -0
- data/spec/hamster/list/union_spec.rbc +1147 -0
- data/spec/hamster/list/uniq_spec.rbc +1007 -0
- data/spec/hamster/list/zip_spec.rbc +1020 -0
- data/spec/hamster/set/add_spec.rbc +1051 -0
- data/spec/hamster/set/all_spec.rbc +1418 -0
- data/spec/hamster/set/any_spec.rbc +1449 -0
- data/spec/hamster/set/clear_spec.rb +36 -0
- data/spec/hamster/set/compact_spec.rbc +807 -0
- data/spec/hamster/set/construction_spec.rbc +426 -0
- data/spec/hamster/set/copying_spec.rbc +474 -0
- data/spec/hamster/set/count_spec.rbc +953 -0
- data/spec/hamster/set/delete_spec.rbc +958 -0
- data/spec/hamster/set/each_spec.rbc +909 -0
- data/spec/hamster/set/empty_spec.rbc +656 -0
- data/spec/hamster/set/eql_spec.rbc +1311 -0
- data/spec/hamster/set/filter_spec.rbc +1289 -0
- data/spec/hamster/set/find_spec.rbc +1017 -0
- data/spec/hamster/set/grep_spec.rbc +1181 -0
- data/spec/hamster/set/group_by_spec.rbc +1276 -0
- data/spec/hamster/set/head_spec.rbc +659 -0
- data/spec/hamster/set/include_spec.rb +6 -2
- data/spec/hamster/set/include_spec.rbc +668 -0
- data/spec/hamster/set/inspect_spec.rbc +593 -0
- data/spec/hamster/set/join_spec.rbc +1075 -0
- data/spec/hamster/set/map_spec.rbc +1302 -0
- data/spec/hamster/set/maximum_spec.rbc +1334 -0
- data/spec/hamster/set/minimum_spec.rbc +1334 -0
- data/spec/hamster/set/none_spec.rbc +1348 -0
- data/spec/hamster/set/one_spec.rbc +1708 -0
- data/spec/hamster/set/partition_spec.rbc +1348 -0
- data/spec/hamster/set/product_spec.rbc +581 -0
- data/spec/hamster/set/reduce_spec.rbc +1198 -0
- data/spec/hamster/set/remove_spec.rbc +1295 -0
- data/spec/hamster/set/size_spec.rbc +533 -0
- data/spec/hamster/set/sorting_spec.rbc +1228 -0
- data/spec/hamster/set/sum_spec.rbc +579 -0
- data/spec/hamster/set/to_a_spec.rbc +774 -0
- data/spec/hamster/set/to_list_spec.rbc +862 -0
- data/spec/hamster/set/to_set_spec.rbc +561 -0
- data/spec/hamster/set/uniq_spec.rbc +479 -0
- data/spec/hamster/stack/clear_spec.rb +1 -1
- data/spec/hamster/stack/clear_spec.rbc +635 -0
- data/spec/hamster/stack/construction_spec.rbc +872 -0
- data/spec/hamster/stack/copying_spec.rbc +561 -0
- data/spec/hamster/stack/empty_spec.rbc +577 -0
- data/spec/hamster/stack/eql_spec.rbc +1283 -0
- data/spec/hamster/stack/inspect_spec.rbc +592 -0
- data/spec/hamster/stack/pop_spec.rbc +1098 -0
- data/spec/hamster/stack/push_spec.rbc +853 -0
- data/spec/hamster/stack/size_spec.rbc +657 -0
- data/spec/hamster/stack/to_a_spec.rbc +801 -0
- data/spec/hamster/stack/to_list_spec.rbc +635 -0
- data/spec/hamster/stack/top_spec.rbc +683 -0
- data/spec/hamster/trie/remove_spec.rbc +40 -0
- data/spec/hamster/tuple/copying_spec.rbc +511 -0
- data/spec/hamster/tuple/first_spec.rbc +423 -0
- data/spec/hamster/tuple/inspect_spec.rbc +423 -0
- data/spec/hamster/tuple/last_spec.rbc +423 -0
- data/spec/hamster/tuple/to_a_spec.rbc +803 -0
- data/spec/hamster/tuple/to_ary_spec.rbc +908 -0
- data/spec/spec_helper.rbc +184 -0
- data/tasks/spec.rbc +202 -0
- metadata +151 -2
@@ -0,0 +1,1255 @@
|
|
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
|
+
62
|
21
|
+
45
|
22
|
+
3
|
23
|
+
46
|
24
|
+
4
|
25
|
+
1
|
26
|
+
7
|
27
|
+
5
|
28
|
+
61
|
29
|
+
78
|
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
|
+
61
|
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/hash
|
100
|
+
x
|
101
|
+
7
|
102
|
+
Hamster
|
103
|
+
n
|
104
|
+
x
|
105
|
+
4
|
106
|
+
Hash
|
107
|
+
M
|
108
|
+
1
|
109
|
+
n
|
110
|
+
n
|
111
|
+
x
|
112
|
+
9
|
113
|
+
__block__
|
114
|
+
i
|
115
|
+
16
|
116
|
+
7
|
117
|
+
0
|
118
|
+
7
|
119
|
+
1
|
120
|
+
7
|
121
|
+
2
|
122
|
+
7
|
123
|
+
3
|
124
|
+
32
|
125
|
+
4
|
126
|
+
53
|
127
|
+
4
|
128
|
+
47
|
129
|
+
5
|
130
|
+
0
|
131
|
+
11
|
132
|
+
I
|
133
|
+
5
|
134
|
+
I
|
135
|
+
0
|
136
|
+
I
|
137
|
+
0
|
138
|
+
I
|
139
|
+
0
|
140
|
+
I
|
141
|
+
-2
|
142
|
+
p
|
143
|
+
6
|
144
|
+
x
|
145
|
+
6
|
146
|
+
reduce
|
147
|
+
x
|
148
|
+
6
|
149
|
+
inject
|
150
|
+
x
|
151
|
+
4
|
152
|
+
fold
|
153
|
+
x
|
154
|
+
5
|
155
|
+
foldr
|
156
|
+
M
|
157
|
+
1
|
158
|
+
n
|
159
|
+
n
|
160
|
+
x
|
161
|
+
9
|
162
|
+
__block__
|
163
|
+
i
|
164
|
+
21
|
165
|
+
54
|
166
|
+
17
|
167
|
+
0
|
168
|
+
14
|
169
|
+
5
|
170
|
+
7
|
171
|
+
0
|
172
|
+
18
|
173
|
+
0
|
174
|
+
44
|
175
|
+
45
|
176
|
+
1
|
177
|
+
60
|
178
|
+
2
|
179
|
+
53
|
180
|
+
2
|
181
|
+
44
|
182
|
+
47
|
183
|
+
3
|
184
|
+
1
|
185
|
+
11
|
186
|
+
I
|
187
|
+
5
|
188
|
+
I
|
189
|
+
1
|
190
|
+
I
|
191
|
+
1
|
192
|
+
I
|
193
|
+
1
|
194
|
+
I
|
195
|
+
-1
|
196
|
+
p
|
197
|
+
4
|
198
|
+
s
|
199
|
+
1
|
200
|
+
#
|
201
|
+
x
|
202
|
+
4
|
203
|
+
to_s
|
204
|
+
M
|
205
|
+
1
|
206
|
+
n
|
207
|
+
n
|
208
|
+
x
|
209
|
+
9
|
210
|
+
__block__
|
211
|
+
i
|
212
|
+
22
|
213
|
+
5
|
214
|
+
7
|
215
|
+
0
|
216
|
+
61
|
217
|
+
53
|
218
|
+
1
|
219
|
+
44
|
220
|
+
47
|
221
|
+
2
|
222
|
+
1
|
223
|
+
14
|
224
|
+
5
|
225
|
+
7
|
226
|
+
3
|
227
|
+
61
|
228
|
+
53
|
229
|
+
4
|
230
|
+
44
|
231
|
+
47
|
232
|
+
2
|
233
|
+
1
|
234
|
+
11
|
235
|
+
I
|
236
|
+
4
|
237
|
+
I
|
238
|
+
0
|
239
|
+
I
|
240
|
+
0
|
241
|
+
I
|
242
|
+
0
|
243
|
+
I
|
244
|
+
-2
|
245
|
+
p
|
246
|
+
5
|
247
|
+
s
|
248
|
+
10
|
249
|
+
when empty
|
250
|
+
M
|
251
|
+
1
|
252
|
+
n
|
253
|
+
n
|
254
|
+
x
|
255
|
+
9
|
256
|
+
__block__
|
257
|
+
i
|
258
|
+
19
|
259
|
+
5
|
260
|
+
53
|
261
|
+
0
|
262
|
+
44
|
263
|
+
47
|
264
|
+
1
|
265
|
+
0
|
266
|
+
14
|
267
|
+
5
|
268
|
+
7
|
269
|
+
2
|
270
|
+
61
|
271
|
+
53
|
272
|
+
3
|
273
|
+
44
|
274
|
+
47
|
275
|
+
4
|
276
|
+
1
|
277
|
+
11
|
278
|
+
I
|
279
|
+
4
|
280
|
+
I
|
281
|
+
0
|
282
|
+
I
|
283
|
+
0
|
284
|
+
I
|
285
|
+
0
|
286
|
+
I
|
287
|
+
-2
|
288
|
+
p
|
289
|
+
5
|
290
|
+
M
|
291
|
+
1
|
292
|
+
n
|
293
|
+
n
|
294
|
+
x
|
295
|
+
9
|
296
|
+
__block__
|
297
|
+
i
|
298
|
+
24
|
299
|
+
42
|
300
|
+
0
|
301
|
+
1
|
302
|
+
45
|
303
|
+
2
|
304
|
+
35
|
305
|
+
3
|
306
|
+
14
|
307
|
+
36
|
308
|
+
3
|
309
|
+
19
|
310
|
+
3
|
311
|
+
0
|
312
|
+
7
|
313
|
+
4
|
314
|
+
61
|
315
|
+
53
|
316
|
+
5
|
317
|
+
47
|
318
|
+
6
|
319
|
+
2
|
320
|
+
35
|
321
|
+
7
|
322
|
+
11
|
323
|
+
I
|
324
|
+
5
|
325
|
+
I
|
326
|
+
0
|
327
|
+
I
|
328
|
+
0
|
329
|
+
I
|
330
|
+
0
|
331
|
+
I
|
332
|
+
-2
|
333
|
+
p
|
334
|
+
8
|
335
|
+
x
|
336
|
+
7
|
337
|
+
Hamster
|
338
|
+
n
|
339
|
+
x
|
340
|
+
4
|
341
|
+
hash
|
342
|
+
x
|
343
|
+
9
|
344
|
+
@original
|
345
|
+
s
|
346
|
+
3
|
347
|
+
ABC
|
348
|
+
M
|
349
|
+
1
|
350
|
+
n
|
351
|
+
n
|
352
|
+
x
|
353
|
+
9
|
354
|
+
__block__
|
355
|
+
i
|
356
|
+
2
|
357
|
+
1
|
358
|
+
11
|
359
|
+
I
|
360
|
+
2
|
361
|
+
I
|
362
|
+
0
|
363
|
+
I
|
364
|
+
0
|
365
|
+
I
|
366
|
+
0
|
367
|
+
I
|
368
|
+
-2
|
369
|
+
p
|
370
|
+
0
|
371
|
+
p
|
372
|
+
3
|
373
|
+
I
|
374
|
+
0
|
375
|
+
I
|
376
|
+
f
|
377
|
+
I
|
378
|
+
2
|
379
|
+
x
|
380
|
+
34
|
381
|
+
./spec/hamster/hash/reduce_spec.rb
|
382
|
+
p
|
383
|
+
0
|
384
|
+
x
|
385
|
+
4
|
386
|
+
send
|
387
|
+
x
|
388
|
+
7
|
389
|
+
@result
|
390
|
+
p
|
391
|
+
7
|
392
|
+
I
|
393
|
+
0
|
394
|
+
I
|
395
|
+
d
|
396
|
+
I
|
397
|
+
0
|
398
|
+
I
|
399
|
+
e
|
400
|
+
I
|
401
|
+
8
|
402
|
+
I
|
403
|
+
f
|
404
|
+
I
|
405
|
+
18
|
406
|
+
x
|
407
|
+
34
|
408
|
+
./spec/hamster/hash/reduce_spec.rb
|
409
|
+
p
|
410
|
+
0
|
411
|
+
x
|
412
|
+
6
|
413
|
+
before
|
414
|
+
s
|
415
|
+
16
|
416
|
+
returns the memo
|
417
|
+
M
|
418
|
+
1
|
419
|
+
n
|
420
|
+
n
|
421
|
+
x
|
422
|
+
9
|
423
|
+
__block__
|
424
|
+
i
|
425
|
+
10
|
426
|
+
36
|
427
|
+
0
|
428
|
+
45
|
429
|
+
1
|
430
|
+
7
|
431
|
+
2
|
432
|
+
61
|
433
|
+
80
|
434
|
+
3
|
435
|
+
11
|
436
|
+
I
|
437
|
+
3
|
438
|
+
I
|
439
|
+
0
|
440
|
+
I
|
441
|
+
0
|
442
|
+
I
|
443
|
+
0
|
444
|
+
I
|
445
|
+
-2
|
446
|
+
p
|
447
|
+
4
|
448
|
+
x
|
449
|
+
7
|
450
|
+
@result
|
451
|
+
x
|
452
|
+
6
|
453
|
+
should
|
454
|
+
s
|
455
|
+
3
|
456
|
+
ABC
|
457
|
+
x
|
458
|
+
2
|
459
|
+
==
|
460
|
+
p
|
461
|
+
5
|
462
|
+
I
|
463
|
+
0
|
464
|
+
I
|
465
|
+
12
|
466
|
+
I
|
467
|
+
0
|
468
|
+
I
|
469
|
+
13
|
470
|
+
I
|
471
|
+
a
|
472
|
+
x
|
473
|
+
34
|
474
|
+
./spec/hamster/hash/reduce_spec.rb
|
475
|
+
p
|
476
|
+
0
|
477
|
+
x
|
478
|
+
2
|
479
|
+
it
|
480
|
+
p
|
481
|
+
7
|
482
|
+
I
|
483
|
+
0
|
484
|
+
I
|
485
|
+
b
|
486
|
+
I
|
487
|
+
0
|
488
|
+
I
|
489
|
+
d
|
490
|
+
I
|
491
|
+
8
|
492
|
+
I
|
493
|
+
12
|
494
|
+
I
|
495
|
+
13
|
496
|
+
x
|
497
|
+
34
|
498
|
+
./spec/hamster/hash/reduce_spec.rb
|
499
|
+
p
|
500
|
+
0
|
501
|
+
x
|
502
|
+
8
|
503
|
+
describe
|
504
|
+
s
|
505
|
+
14
|
506
|
+
when not empty
|
507
|
+
M
|
508
|
+
1
|
509
|
+
n
|
510
|
+
n
|
511
|
+
x
|
512
|
+
9
|
513
|
+
__block__
|
514
|
+
i
|
515
|
+
30
|
516
|
+
5
|
517
|
+
53
|
518
|
+
0
|
519
|
+
44
|
520
|
+
47
|
521
|
+
1
|
522
|
+
0
|
523
|
+
14
|
524
|
+
5
|
525
|
+
7
|
526
|
+
2
|
527
|
+
61
|
528
|
+
53
|
529
|
+
3
|
530
|
+
44
|
531
|
+
47
|
532
|
+
4
|
533
|
+
1
|
534
|
+
14
|
535
|
+
5
|
536
|
+
7
|
537
|
+
5
|
538
|
+
61
|
539
|
+
53
|
540
|
+
6
|
541
|
+
44
|
542
|
+
47
|
543
|
+
4
|
544
|
+
1
|
545
|
+
11
|
546
|
+
I
|
547
|
+
4
|
548
|
+
I
|
549
|
+
0
|
550
|
+
I
|
551
|
+
0
|
552
|
+
I
|
553
|
+
0
|
554
|
+
I
|
555
|
+
-2
|
556
|
+
p
|
557
|
+
7
|
558
|
+
M
|
559
|
+
1
|
560
|
+
n
|
561
|
+
n
|
562
|
+
x
|
563
|
+
9
|
564
|
+
__block__
|
565
|
+
i
|
566
|
+
50
|
567
|
+
42
|
568
|
+
0
|
569
|
+
1
|
570
|
+
41
|
571
|
+
40
|
572
|
+
2
|
573
|
+
4
|
574
|
+
3
|
575
|
+
46
|
576
|
+
3
|
577
|
+
1
|
578
|
+
13
|
579
|
+
7
|
580
|
+
4
|
581
|
+
61
|
582
|
+
7
|
583
|
+
5
|
584
|
+
61
|
585
|
+
46
|
586
|
+
6
|
587
|
+
2
|
588
|
+
14
|
589
|
+
13
|
590
|
+
7
|
591
|
+
7
|
592
|
+
61
|
593
|
+
7
|
594
|
+
8
|
595
|
+
61
|
596
|
+
46
|
597
|
+
6
|
598
|
+
2
|
599
|
+
14
|
600
|
+
13
|
601
|
+
7
|
602
|
+
9
|
603
|
+
61
|
604
|
+
7
|
605
|
+
10
|
606
|
+
61
|
607
|
+
46
|
608
|
+
6
|
609
|
+
2
|
610
|
+
14
|
611
|
+
46
|
612
|
+
11
|
613
|
+
1
|
614
|
+
35
|
615
|
+
12
|
616
|
+
11
|
617
|
+
I
|
618
|
+
6
|
619
|
+
I
|
620
|
+
0
|
621
|
+
I
|
622
|
+
0
|
623
|
+
I
|
624
|
+
0
|
625
|
+
I
|
626
|
+
-2
|
627
|
+
p
|
628
|
+
13
|
629
|
+
x
|
630
|
+
7
|
631
|
+
Hamster
|
632
|
+
n
|
633
|
+
x
|
634
|
+
4
|
635
|
+
Hash
|
636
|
+
x
|
637
|
+
16
|
638
|
+
new_from_literal
|
639
|
+
s
|
640
|
+
1
|
641
|
+
A
|
642
|
+
s
|
643
|
+
3
|
644
|
+
aye
|
645
|
+
x
|
646
|
+
3
|
647
|
+
[]=
|
648
|
+
s
|
649
|
+
1
|
650
|
+
B
|
651
|
+
s
|
652
|
+
3
|
653
|
+
bee
|
654
|
+
s
|
655
|
+
1
|
656
|
+
C
|
657
|
+
s
|
658
|
+
3
|
659
|
+
see
|
660
|
+
x
|
661
|
+
4
|
662
|
+
hash
|
663
|
+
x
|
664
|
+
9
|
665
|
+
@original
|
666
|
+
p
|
667
|
+
5
|
668
|
+
I
|
669
|
+
0
|
670
|
+
I
|
671
|
+
1a
|
672
|
+
I
|
673
|
+
0
|
674
|
+
I
|
675
|
+
1b
|
676
|
+
I
|
677
|
+
32
|
678
|
+
x
|
679
|
+
34
|
680
|
+
./spec/hamster/hash/reduce_spec.rb
|
681
|
+
p
|
682
|
+
0
|
683
|
+
x
|
684
|
+
6
|
685
|
+
before
|
686
|
+
s
|
687
|
+
12
|
688
|
+
with a block
|
689
|
+
M
|
690
|
+
1
|
691
|
+
n
|
692
|
+
n
|
693
|
+
x
|
694
|
+
9
|
695
|
+
__block__
|
696
|
+
i
|
697
|
+
19
|
698
|
+
5
|
699
|
+
53
|
700
|
+
0
|
701
|
+
44
|
702
|
+
47
|
703
|
+
1
|
704
|
+
0
|
705
|
+
14
|
706
|
+
5
|
707
|
+
7
|
708
|
+
2
|
709
|
+
61
|
710
|
+
53
|
711
|
+
3
|
712
|
+
44
|
713
|
+
47
|
714
|
+
4
|
715
|
+
1
|
716
|
+
11
|
717
|
+
I
|
718
|
+
4
|
719
|
+
I
|
720
|
+
0
|
721
|
+
I
|
722
|
+
0
|
723
|
+
I
|
724
|
+
0
|
725
|
+
I
|
726
|
+
-2
|
727
|
+
p
|
728
|
+
5
|
729
|
+
M
|
730
|
+
1
|
731
|
+
n
|
732
|
+
n
|
733
|
+
x
|
734
|
+
9
|
735
|
+
__block__
|
736
|
+
i
|
737
|
+
14
|
738
|
+
36
|
739
|
+
0
|
740
|
+
19
|
741
|
+
4
|
742
|
+
0
|
743
|
+
75
|
744
|
+
53
|
745
|
+
1
|
746
|
+
47
|
747
|
+
2
|
748
|
+
2
|
749
|
+
35
|
750
|
+
3
|
751
|
+
11
|
752
|
+
I
|
753
|
+
5
|
754
|
+
I
|
755
|
+
0
|
756
|
+
I
|
757
|
+
0
|
758
|
+
I
|
759
|
+
0
|
760
|
+
I
|
761
|
+
-2
|
762
|
+
p
|
763
|
+
4
|
764
|
+
x
|
765
|
+
9
|
766
|
+
@original
|
767
|
+
M
|
768
|
+
1
|
769
|
+
n
|
770
|
+
n
|
771
|
+
x
|
772
|
+
9
|
773
|
+
__block__
|
774
|
+
i
|
775
|
+
21
|
776
|
+
55
|
777
|
+
33
|
778
|
+
34
|
779
|
+
17
|
780
|
+
0
|
781
|
+
14
|
782
|
+
34
|
783
|
+
17
|
784
|
+
1
|
785
|
+
14
|
786
|
+
34
|
787
|
+
17
|
788
|
+
2
|
789
|
+
14
|
790
|
+
14
|
791
|
+
18
|
792
|
+
0
|
793
|
+
76
|
794
|
+
78
|
795
|
+
0
|
796
|
+
11
|
797
|
+
I
|
798
|
+
6
|
799
|
+
I
|
800
|
+
3
|
801
|
+
I
|
802
|
+
3
|
803
|
+
I
|
804
|
+
3
|
805
|
+
I
|
806
|
+
-1
|
807
|
+
p
|
808
|
+
1
|
809
|
+
x
|
810
|
+
1
|
811
|
+
+
|
812
|
+
p
|
813
|
+
3
|
814
|
+
I
|
815
|
+
0
|
816
|
+
I
|
817
|
+
21
|
818
|
+
I
|
819
|
+
15
|
820
|
+
x
|
821
|
+
34
|
822
|
+
./spec/hamster/hash/reduce_spec.rb
|
823
|
+
p
|
824
|
+
3
|
825
|
+
x
|
826
|
+
4
|
827
|
+
memo
|
828
|
+
x
|
829
|
+
3
|
830
|
+
key
|
831
|
+
x
|
832
|
+
5
|
833
|
+
value
|
834
|
+
x
|
835
|
+
4
|
836
|
+
send
|
837
|
+
x
|
838
|
+
7
|
839
|
+
@result
|
840
|
+
p
|
841
|
+
5
|
842
|
+
I
|
843
|
+
0
|
844
|
+
I
|
845
|
+
20
|
846
|
+
I
|
847
|
+
0
|
848
|
+
I
|
849
|
+
21
|
850
|
+
I
|
851
|
+
e
|
852
|
+
x
|
853
|
+
34
|
854
|
+
./spec/hamster/hash/reduce_spec.rb
|
855
|
+
p
|
856
|
+
0
|
857
|
+
x
|
858
|
+
6
|
859
|
+
before
|
860
|
+
s
|
861
|
+
22
|
862
|
+
returns the final memo
|
863
|
+
M
|
864
|
+
1
|
865
|
+
n
|
866
|
+
n
|
867
|
+
x
|
868
|
+
9
|
869
|
+
__block__
|
870
|
+
i
|
871
|
+
9
|
872
|
+
36
|
873
|
+
0
|
874
|
+
45
|
875
|
+
1
|
876
|
+
4
|
877
|
+
3
|
878
|
+
80
|
879
|
+
2
|
880
|
+
11
|
881
|
+
I
|
882
|
+
3
|
883
|
+
I
|
884
|
+
0
|
885
|
+
I
|
886
|
+
0
|
887
|
+
I
|
888
|
+
0
|
889
|
+
I
|
890
|
+
-2
|
891
|
+
p
|
892
|
+
3
|
893
|
+
x
|
894
|
+
7
|
895
|
+
@result
|
896
|
+
x
|
897
|
+
6
|
898
|
+
should
|
899
|
+
x
|
900
|
+
2
|
901
|
+
==
|
902
|
+
p
|
903
|
+
5
|
904
|
+
I
|
905
|
+
0
|
906
|
+
I
|
907
|
+
24
|
908
|
+
I
|
909
|
+
0
|
910
|
+
I
|
911
|
+
25
|
912
|
+
I
|
913
|
+
9
|
914
|
+
x
|
915
|
+
34
|
916
|
+
./spec/hamster/hash/reduce_spec.rb
|
917
|
+
p
|
918
|
+
0
|
919
|
+
x
|
920
|
+
2
|
921
|
+
it
|
922
|
+
p
|
923
|
+
7
|
924
|
+
I
|
925
|
+
0
|
926
|
+
I
|
927
|
+
1e
|
928
|
+
I
|
929
|
+
0
|
930
|
+
I
|
931
|
+
20
|
932
|
+
I
|
933
|
+
8
|
934
|
+
I
|
935
|
+
24
|
936
|
+
I
|
937
|
+
13
|
938
|
+
x
|
939
|
+
34
|
940
|
+
./spec/hamster/hash/reduce_spec.rb
|
941
|
+
p
|
942
|
+
0
|
943
|
+
x
|
944
|
+
8
|
945
|
+
describe
|
946
|
+
s
|
947
|
+
13
|
948
|
+
with no block
|
949
|
+
M
|
950
|
+
1
|
951
|
+
n
|
952
|
+
n
|
953
|
+
x
|
954
|
+
9
|
955
|
+
__block__
|
956
|
+
i
|
957
|
+
19
|
958
|
+
5
|
959
|
+
53
|
960
|
+
0
|
961
|
+
44
|
962
|
+
47
|
963
|
+
1
|
964
|
+
0
|
965
|
+
14
|
966
|
+
5
|
967
|
+
7
|
968
|
+
2
|
969
|
+
61
|
970
|
+
53
|
971
|
+
3
|
972
|
+
44
|
973
|
+
47
|
974
|
+
4
|
975
|
+
1
|
976
|
+
11
|
977
|
+
I
|
978
|
+
4
|
979
|
+
I
|
980
|
+
0
|
981
|
+
I
|
982
|
+
0
|
983
|
+
I
|
984
|
+
0
|
985
|
+
I
|
986
|
+
-2
|
987
|
+
p
|
988
|
+
5
|
989
|
+
M
|
990
|
+
1
|
991
|
+
n
|
992
|
+
n
|
993
|
+
x
|
994
|
+
9
|
995
|
+
__block__
|
996
|
+
i
|
997
|
+
14
|
998
|
+
36
|
999
|
+
0
|
1000
|
+
19
|
1001
|
+
4
|
1002
|
+
0
|
1003
|
+
7
|
1004
|
+
1
|
1005
|
+
61
|
1006
|
+
46
|
1007
|
+
2
|
1008
|
+
2
|
1009
|
+
35
|
1010
|
+
3
|
1011
|
+
11
|
1012
|
+
I
|
1013
|
+
4
|
1014
|
+
I
|
1015
|
+
0
|
1016
|
+
I
|
1017
|
+
0
|
1018
|
+
I
|
1019
|
+
0
|
1020
|
+
I
|
1021
|
+
-2
|
1022
|
+
p
|
1023
|
+
4
|
1024
|
+
x
|
1025
|
+
9
|
1026
|
+
@original
|
1027
|
+
s
|
1028
|
+
3
|
1029
|
+
ABC
|
1030
|
+
x
|
1031
|
+
4
|
1032
|
+
send
|
1033
|
+
x
|
1034
|
+
7
|
1035
|
+
@result
|
1036
|
+
p
|
1037
|
+
5
|
1038
|
+
I
|
1039
|
+
0
|
1040
|
+
I
|
1041
|
+
2c
|
1042
|
+
I
|
1043
|
+
0
|
1044
|
+
I
|
1045
|
+
2d
|
1046
|
+
I
|
1047
|
+
e
|
1048
|
+
x
|
1049
|
+
34
|
1050
|
+
./spec/hamster/hash/reduce_spec.rb
|
1051
|
+
p
|
1052
|
+
0
|
1053
|
+
x
|
1054
|
+
6
|
1055
|
+
before
|
1056
|
+
s
|
1057
|
+
16
|
1058
|
+
returns the memo
|
1059
|
+
M
|
1060
|
+
1
|
1061
|
+
n
|
1062
|
+
n
|
1063
|
+
x
|
1064
|
+
9
|
1065
|
+
__block__
|
1066
|
+
i
|
1067
|
+
10
|
1068
|
+
36
|
1069
|
+
0
|
1070
|
+
45
|
1071
|
+
1
|
1072
|
+
7
|
1073
|
+
2
|
1074
|
+
61
|
1075
|
+
80
|
1076
|
+
3
|
1077
|
+
11
|
1078
|
+
I
|
1079
|
+
3
|
1080
|
+
I
|
1081
|
+
0
|
1082
|
+
I
|
1083
|
+
0
|
1084
|
+
I
|
1085
|
+
0
|
1086
|
+
I
|
1087
|
+
-2
|
1088
|
+
p
|
1089
|
+
4
|
1090
|
+
x
|
1091
|
+
7
|
1092
|
+
@result
|
1093
|
+
x
|
1094
|
+
6
|
1095
|
+
should
|
1096
|
+
s
|
1097
|
+
3
|
1098
|
+
ABC
|
1099
|
+
x
|
1100
|
+
2
|
1101
|
+
==
|
1102
|
+
p
|
1103
|
+
5
|
1104
|
+
I
|
1105
|
+
0
|
1106
|
+
I
|
1107
|
+
30
|
1108
|
+
I
|
1109
|
+
0
|
1110
|
+
I
|
1111
|
+
31
|
1112
|
+
I
|
1113
|
+
a
|
1114
|
+
x
|
1115
|
+
34
|
1116
|
+
./spec/hamster/hash/reduce_spec.rb
|
1117
|
+
p
|
1118
|
+
0
|
1119
|
+
x
|
1120
|
+
2
|
1121
|
+
it
|
1122
|
+
p
|
1123
|
+
7
|
1124
|
+
I
|
1125
|
+
0
|
1126
|
+
I
|
1127
|
+
2a
|
1128
|
+
I
|
1129
|
+
0
|
1130
|
+
I
|
1131
|
+
2c
|
1132
|
+
I
|
1133
|
+
8
|
1134
|
+
I
|
1135
|
+
30
|
1136
|
+
I
|
1137
|
+
13
|
1138
|
+
x
|
1139
|
+
34
|
1140
|
+
./spec/hamster/hash/reduce_spec.rb
|
1141
|
+
p
|
1142
|
+
0
|
1143
|
+
p
|
1144
|
+
9
|
1145
|
+
I
|
1146
|
+
0
|
1147
|
+
I
|
1148
|
+
18
|
1149
|
+
I
|
1150
|
+
0
|
1151
|
+
I
|
1152
|
+
1a
|
1153
|
+
I
|
1154
|
+
8
|
1155
|
+
I
|
1156
|
+
1e
|
1157
|
+
I
|
1158
|
+
13
|
1159
|
+
I
|
1160
|
+
2a
|
1161
|
+
I
|
1162
|
+
1e
|
1163
|
+
x
|
1164
|
+
34
|
1165
|
+
./spec/hamster/hash/reduce_spec.rb
|
1166
|
+
p
|
1167
|
+
0
|
1168
|
+
p
|
1169
|
+
7
|
1170
|
+
I
|
1171
|
+
0
|
1172
|
+
I
|
1173
|
+
9
|
1174
|
+
I
|
1175
|
+
0
|
1176
|
+
I
|
1177
|
+
b
|
1178
|
+
I
|
1179
|
+
b
|
1180
|
+
I
|
1181
|
+
18
|
1182
|
+
I
|
1183
|
+
16
|
1184
|
+
x
|
1185
|
+
34
|
1186
|
+
./spec/hamster/hash/reduce_spec.rb
|
1187
|
+
p
|
1188
|
+
0
|
1189
|
+
x
|
1190
|
+
8
|
1191
|
+
describe
|
1192
|
+
p
|
1193
|
+
5
|
1194
|
+
I
|
1195
|
+
0
|
1196
|
+
I
|
1197
|
+
7
|
1198
|
+
I
|
1199
|
+
4
|
1200
|
+
I
|
1201
|
+
9
|
1202
|
+
I
|
1203
|
+
15
|
1204
|
+
x
|
1205
|
+
34
|
1206
|
+
./spec/hamster/hash/reduce_spec.rb
|
1207
|
+
p
|
1208
|
+
1
|
1209
|
+
x
|
1210
|
+
6
|
1211
|
+
method
|
1212
|
+
x
|
1213
|
+
4
|
1214
|
+
each
|
1215
|
+
p
|
1216
|
+
5
|
1217
|
+
I
|
1218
|
+
0
|
1219
|
+
I
|
1220
|
+
5
|
1221
|
+
I
|
1222
|
+
0
|
1223
|
+
I
|
1224
|
+
7
|
1225
|
+
I
|
1226
|
+
10
|
1227
|
+
x
|
1228
|
+
34
|
1229
|
+
./spec/hamster/hash/reduce_spec.rb
|
1230
|
+
p
|
1231
|
+
0
|
1232
|
+
x
|
1233
|
+
8
|
1234
|
+
describe
|
1235
|
+
p
|
1236
|
+
7
|
1237
|
+
I
|
1238
|
+
0
|
1239
|
+
I
|
1240
|
+
1
|
1241
|
+
I
|
1242
|
+
1a
|
1243
|
+
I
|
1244
|
+
3
|
1245
|
+
I
|
1246
|
+
23
|
1247
|
+
I
|
1248
|
+
5
|
1249
|
+
I
|
1250
|
+
32
|
1251
|
+
x
|
1252
|
+
34
|
1253
|
+
./spec/hamster/hash/reduce_spec.rb
|
1254
|
+
p
|
1255
|
+
0
|