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
@@ -0,0 +1,1358 @@
|
|
1
|
+
!RBIX
|
2
|
+
0
|
3
|
+
x
|
4
|
+
M
|
5
|
+
1
|
6
|
+
n
|
7
|
+
n
|
8
|
+
x
|
9
|
+
10
|
10
|
+
__script__
|
11
|
+
i
|
12
|
+
40
|
13
|
+
5
|
14
|
+
7
|
15
|
+
0
|
16
|
+
60
|
17
|
+
44
|
18
|
+
46
|
19
|
+
1
|
20
|
+
1
|
21
|
+
14
|
22
|
+
42
|
23
|
+
2
|
24
|
+
3
|
25
|
+
7
|
26
|
+
4
|
27
|
+
61
|
28
|
+
46
|
29
|
+
5
|
30
|
+
2
|
31
|
+
13
|
32
|
+
42
|
33
|
+
2
|
34
|
+
6
|
35
|
+
12
|
36
|
+
7
|
37
|
+
7
|
38
|
+
12
|
39
|
+
7
|
40
|
+
8
|
41
|
+
12
|
42
|
+
61
|
43
|
+
12
|
44
|
+
46
|
45
|
+
9
|
46
|
+
4
|
47
|
+
14
|
48
|
+
45
|
49
|
+
7
|
50
|
+
14
|
51
|
+
2
|
52
|
+
11
|
53
|
+
I
|
54
|
+
6
|
55
|
+
I
|
56
|
+
0
|
57
|
+
I
|
58
|
+
0
|
59
|
+
I
|
60
|
+
0
|
61
|
+
n
|
62
|
+
p
|
63
|
+
10
|
64
|
+
s
|
65
|
+
12
|
66
|
+
hamster/list
|
67
|
+
x
|
68
|
+
7
|
69
|
+
require
|
70
|
+
x
|
71
|
+
8
|
72
|
+
Rubinius
|
73
|
+
n
|
74
|
+
x
|
75
|
+
7
|
76
|
+
Hamster
|
77
|
+
x
|
78
|
+
11
|
79
|
+
open_module
|
80
|
+
n
|
81
|
+
x
|
82
|
+
15
|
83
|
+
__module_init__
|
84
|
+
M
|
85
|
+
1
|
86
|
+
n
|
87
|
+
n
|
88
|
+
x
|
89
|
+
7
|
90
|
+
Hamster
|
91
|
+
i
|
92
|
+
84
|
93
|
+
5
|
94
|
+
62
|
95
|
+
5
|
96
|
+
45
|
97
|
+
0
|
98
|
+
7
|
99
|
+
1
|
100
|
+
7
|
101
|
+
2
|
102
|
+
61
|
103
|
+
46
|
104
|
+
3
|
105
|
+
3
|
106
|
+
14
|
107
|
+
42
|
108
|
+
4
|
109
|
+
5
|
110
|
+
7
|
111
|
+
6
|
112
|
+
1
|
113
|
+
61
|
114
|
+
46
|
115
|
+
7
|
116
|
+
3
|
117
|
+
13
|
118
|
+
42
|
119
|
+
4
|
120
|
+
8
|
121
|
+
12
|
122
|
+
7
|
123
|
+
9
|
124
|
+
12
|
125
|
+
7
|
126
|
+
10
|
127
|
+
12
|
128
|
+
61
|
129
|
+
12
|
130
|
+
46
|
131
|
+
3
|
132
|
+
4
|
133
|
+
14
|
134
|
+
45
|
135
|
+
9
|
136
|
+
14
|
137
|
+
61
|
138
|
+
7
|
139
|
+
11
|
140
|
+
42
|
141
|
+
6
|
142
|
+
12
|
143
|
+
13
|
144
|
+
67
|
145
|
+
13
|
146
|
+
47
|
147
|
+
9
|
148
|
+
72
|
149
|
+
44
|
150
|
+
45
|
151
|
+
14
|
152
|
+
13
|
153
|
+
42
|
154
|
+
15
|
155
|
+
16
|
156
|
+
45
|
157
|
+
17
|
158
|
+
44
|
159
|
+
46
|
160
|
+
18
|
161
|
+
1
|
162
|
+
14
|
163
|
+
8
|
164
|
+
80
|
165
|
+
42
|
166
|
+
15
|
167
|
+
19
|
168
|
+
45
|
169
|
+
17
|
170
|
+
46
|
171
|
+
13
|
172
|
+
1
|
173
|
+
46
|
174
|
+
20
|
175
|
+
2
|
176
|
+
11
|
177
|
+
I
|
178
|
+
6
|
179
|
+
I
|
180
|
+
0
|
181
|
+
I
|
182
|
+
0
|
183
|
+
I
|
184
|
+
0
|
185
|
+
n
|
186
|
+
p
|
187
|
+
21
|
188
|
+
x
|
189
|
+
9
|
190
|
+
metaclass
|
191
|
+
x
|
192
|
+
5
|
193
|
+
stack
|
194
|
+
M
|
195
|
+
1
|
196
|
+
n
|
197
|
+
n
|
198
|
+
x
|
199
|
+
5
|
200
|
+
stack
|
201
|
+
i
|
202
|
+
11
|
203
|
+
18
|
204
|
+
0
|
205
|
+
42
|
206
|
+
0
|
207
|
+
1
|
208
|
+
53
|
209
|
+
2
|
210
|
+
47
|
211
|
+
3
|
212
|
+
1
|
213
|
+
11
|
214
|
+
I
|
215
|
+
4
|
216
|
+
I
|
217
|
+
1
|
218
|
+
I
|
219
|
+
0
|
220
|
+
I
|
221
|
+
0
|
222
|
+
I
|
223
|
+
0
|
224
|
+
p
|
225
|
+
4
|
226
|
+
x
|
227
|
+
10
|
228
|
+
EmptyStack
|
229
|
+
n
|
230
|
+
M
|
231
|
+
1
|
232
|
+
n
|
233
|
+
n
|
234
|
+
x
|
235
|
+
9
|
236
|
+
__block__
|
237
|
+
i
|
238
|
+
19
|
239
|
+
55
|
240
|
+
33
|
241
|
+
34
|
242
|
+
17
|
243
|
+
0
|
244
|
+
14
|
245
|
+
34
|
246
|
+
17
|
247
|
+
1
|
248
|
+
14
|
249
|
+
14
|
250
|
+
18
|
251
|
+
0
|
252
|
+
18
|
253
|
+
1
|
254
|
+
46
|
255
|
+
0
|
256
|
+
1
|
257
|
+
11
|
258
|
+
I
|
259
|
+
5
|
260
|
+
I
|
261
|
+
2
|
262
|
+
I
|
263
|
+
2
|
264
|
+
I
|
265
|
+
2
|
266
|
+
n
|
267
|
+
p
|
268
|
+
1
|
269
|
+
x
|
270
|
+
4
|
271
|
+
push
|
272
|
+
p
|
273
|
+
3
|
274
|
+
I
|
275
|
+
0
|
276
|
+
I
|
277
|
+
6
|
278
|
+
I
|
279
|
+
13
|
280
|
+
x
|
281
|
+
58
|
282
|
+
/Users/haruki_zaemon/Projects/hamster/lib/hamster/stack.rb
|
283
|
+
p
|
284
|
+
2
|
285
|
+
x
|
286
|
+
5
|
287
|
+
stack
|
288
|
+
x
|
289
|
+
4
|
290
|
+
item
|
291
|
+
x
|
292
|
+
6
|
293
|
+
inject
|
294
|
+
p
|
295
|
+
5
|
296
|
+
I
|
297
|
+
0
|
298
|
+
I
|
299
|
+
5
|
300
|
+
I
|
301
|
+
0
|
302
|
+
I
|
303
|
+
6
|
304
|
+
I
|
305
|
+
b
|
306
|
+
x
|
307
|
+
58
|
308
|
+
/Users/haruki_zaemon/Projects/hamster/lib/hamster/stack.rb
|
309
|
+
p
|
310
|
+
1
|
311
|
+
x
|
312
|
+
5
|
313
|
+
items
|
314
|
+
x
|
315
|
+
13
|
316
|
+
attach_method
|
317
|
+
x
|
318
|
+
8
|
319
|
+
Rubinius
|
320
|
+
n
|
321
|
+
x
|
322
|
+
5
|
323
|
+
Stack
|
324
|
+
x
|
325
|
+
10
|
326
|
+
open_class
|
327
|
+
n
|
328
|
+
x
|
329
|
+
14
|
330
|
+
__class_init__
|
331
|
+
M
|
332
|
+
1
|
333
|
+
n
|
334
|
+
n
|
335
|
+
x
|
336
|
+
5
|
337
|
+
Stack
|
338
|
+
i
|
339
|
+
177
|
340
|
+
5
|
341
|
+
62
|
342
|
+
42
|
343
|
+
0
|
344
|
+
1
|
345
|
+
7
|
346
|
+
2
|
347
|
+
7
|
348
|
+
3
|
349
|
+
61
|
350
|
+
63
|
351
|
+
45
|
352
|
+
4
|
353
|
+
46
|
354
|
+
5
|
355
|
+
4
|
356
|
+
14
|
357
|
+
42
|
358
|
+
0
|
359
|
+
6
|
360
|
+
7
|
361
|
+
7
|
362
|
+
7
|
363
|
+
8
|
364
|
+
61
|
365
|
+
63
|
366
|
+
45
|
367
|
+
4
|
368
|
+
46
|
369
|
+
5
|
370
|
+
4
|
371
|
+
14
|
372
|
+
42
|
373
|
+
0
|
374
|
+
9
|
375
|
+
7
|
376
|
+
10
|
377
|
+
7
|
378
|
+
11
|
379
|
+
61
|
380
|
+
63
|
381
|
+
45
|
382
|
+
4
|
383
|
+
46
|
384
|
+
5
|
385
|
+
4
|
386
|
+
14
|
387
|
+
5
|
388
|
+
7
|
389
|
+
12
|
390
|
+
7
|
391
|
+
10
|
392
|
+
44
|
393
|
+
46
|
394
|
+
13
|
395
|
+
2
|
396
|
+
14
|
397
|
+
42
|
398
|
+
0
|
399
|
+
14
|
400
|
+
7
|
401
|
+
15
|
402
|
+
7
|
403
|
+
16
|
404
|
+
61
|
405
|
+
63
|
406
|
+
45
|
407
|
+
4
|
408
|
+
46
|
409
|
+
5
|
410
|
+
4
|
411
|
+
14
|
412
|
+
42
|
413
|
+
0
|
414
|
+
17
|
415
|
+
7
|
416
|
+
18
|
417
|
+
7
|
418
|
+
19
|
419
|
+
61
|
420
|
+
63
|
421
|
+
45
|
422
|
+
4
|
423
|
+
46
|
424
|
+
5
|
425
|
+
4
|
426
|
+
14
|
427
|
+
5
|
428
|
+
7
|
429
|
+
20
|
430
|
+
7
|
431
|
+
18
|
432
|
+
44
|
433
|
+
46
|
434
|
+
13
|
435
|
+
2
|
436
|
+
14
|
437
|
+
42
|
438
|
+
0
|
439
|
+
21
|
440
|
+
7
|
441
|
+
22
|
442
|
+
7
|
443
|
+
23
|
444
|
+
61
|
445
|
+
63
|
446
|
+
45
|
447
|
+
4
|
448
|
+
46
|
449
|
+
5
|
450
|
+
4
|
451
|
+
14
|
452
|
+
42
|
453
|
+
0
|
454
|
+
24
|
455
|
+
7
|
456
|
+
25
|
457
|
+
7
|
458
|
+
26
|
459
|
+
61
|
460
|
+
63
|
461
|
+
45
|
462
|
+
4
|
463
|
+
46
|
464
|
+
5
|
465
|
+
4
|
466
|
+
14
|
467
|
+
5
|
468
|
+
7
|
469
|
+
27
|
470
|
+
7
|
471
|
+
25
|
472
|
+
44
|
473
|
+
46
|
474
|
+
13
|
475
|
+
2
|
476
|
+
14
|
477
|
+
42
|
478
|
+
0
|
479
|
+
28
|
480
|
+
7
|
481
|
+
29
|
482
|
+
7
|
483
|
+
30
|
484
|
+
61
|
485
|
+
63
|
486
|
+
45
|
487
|
+
4
|
488
|
+
46
|
489
|
+
5
|
490
|
+
4
|
491
|
+
14
|
492
|
+
5
|
493
|
+
7
|
494
|
+
31
|
495
|
+
7
|
496
|
+
29
|
497
|
+
44
|
498
|
+
46
|
499
|
+
13
|
500
|
+
2
|
501
|
+
14
|
502
|
+
42
|
503
|
+
0
|
504
|
+
32
|
505
|
+
7
|
506
|
+
33
|
507
|
+
7
|
508
|
+
34
|
509
|
+
61
|
510
|
+
63
|
511
|
+
45
|
512
|
+
4
|
513
|
+
46
|
514
|
+
5
|
515
|
+
4
|
516
|
+
11
|
517
|
+
I
|
518
|
+
5
|
519
|
+
I
|
520
|
+
0
|
521
|
+
I
|
522
|
+
0
|
523
|
+
I
|
524
|
+
0
|
525
|
+
n
|
526
|
+
p
|
527
|
+
35
|
528
|
+
x
|
529
|
+
8
|
530
|
+
Rubinius
|
531
|
+
n
|
532
|
+
x
|
533
|
+
10
|
534
|
+
initialize
|
535
|
+
M
|
536
|
+
1
|
537
|
+
n
|
538
|
+
n
|
539
|
+
x
|
540
|
+
10
|
541
|
+
initialize
|
542
|
+
i
|
543
|
+
5
|
544
|
+
18
|
545
|
+
0
|
546
|
+
35
|
547
|
+
0
|
548
|
+
11
|
549
|
+
I
|
550
|
+
2
|
551
|
+
I
|
552
|
+
1
|
553
|
+
I
|
554
|
+
1
|
555
|
+
I
|
556
|
+
1
|
557
|
+
n
|
558
|
+
p
|
559
|
+
1
|
560
|
+
x
|
561
|
+
5
|
562
|
+
@list
|
563
|
+
p
|
564
|
+
5
|
565
|
+
I
|
566
|
+
0
|
567
|
+
I
|
568
|
+
b
|
569
|
+
I
|
570
|
+
0
|
571
|
+
I
|
572
|
+
c
|
573
|
+
I
|
574
|
+
5
|
575
|
+
x
|
576
|
+
58
|
577
|
+
/Users/haruki_zaemon/Projects/hamster/lib/hamster/stack.rb
|
578
|
+
p
|
579
|
+
1
|
580
|
+
x
|
581
|
+
4
|
582
|
+
list
|
583
|
+
x
|
584
|
+
17
|
585
|
+
method_visibility
|
586
|
+
x
|
587
|
+
15
|
588
|
+
add_defn_method
|
589
|
+
n
|
590
|
+
x
|
591
|
+
6
|
592
|
+
empty?
|
593
|
+
M
|
594
|
+
1
|
595
|
+
n
|
596
|
+
n
|
597
|
+
x
|
598
|
+
6
|
599
|
+
empty?
|
600
|
+
i
|
601
|
+
5
|
602
|
+
36
|
603
|
+
0
|
604
|
+
45
|
605
|
+
1
|
606
|
+
11
|
607
|
+
I
|
608
|
+
1
|
609
|
+
I
|
610
|
+
0
|
611
|
+
I
|
612
|
+
0
|
613
|
+
I
|
614
|
+
0
|
615
|
+
n
|
616
|
+
p
|
617
|
+
2
|
618
|
+
x
|
619
|
+
5
|
620
|
+
@list
|
621
|
+
x
|
622
|
+
6
|
623
|
+
empty?
|
624
|
+
p
|
625
|
+
5
|
626
|
+
I
|
627
|
+
0
|
628
|
+
I
|
629
|
+
f
|
630
|
+
I
|
631
|
+
0
|
632
|
+
I
|
633
|
+
10
|
634
|
+
I
|
635
|
+
5
|
636
|
+
x
|
637
|
+
58
|
638
|
+
/Users/haruki_zaemon/Projects/hamster/lib/hamster/stack.rb
|
639
|
+
p
|
640
|
+
0
|
641
|
+
n
|
642
|
+
x
|
643
|
+
4
|
644
|
+
size
|
645
|
+
M
|
646
|
+
1
|
647
|
+
n
|
648
|
+
n
|
649
|
+
x
|
650
|
+
4
|
651
|
+
size
|
652
|
+
i
|
653
|
+
5
|
654
|
+
36
|
655
|
+
0
|
656
|
+
45
|
657
|
+
1
|
658
|
+
11
|
659
|
+
I
|
660
|
+
1
|
661
|
+
I
|
662
|
+
0
|
663
|
+
I
|
664
|
+
0
|
665
|
+
I
|
666
|
+
0
|
667
|
+
n
|
668
|
+
p
|
669
|
+
2
|
670
|
+
x
|
671
|
+
5
|
672
|
+
@list
|
673
|
+
x
|
674
|
+
4
|
675
|
+
size
|
676
|
+
p
|
677
|
+
5
|
678
|
+
I
|
679
|
+
0
|
680
|
+
I
|
681
|
+
13
|
682
|
+
I
|
683
|
+
0
|
684
|
+
I
|
685
|
+
14
|
686
|
+
I
|
687
|
+
5
|
688
|
+
x
|
689
|
+
58
|
690
|
+
/Users/haruki_zaemon/Projects/hamster/lib/hamster/stack.rb
|
691
|
+
p
|
692
|
+
0
|
693
|
+
x
|
694
|
+
6
|
695
|
+
length
|
696
|
+
x
|
697
|
+
12
|
698
|
+
alias_method
|
699
|
+
n
|
700
|
+
x
|
701
|
+
3
|
702
|
+
top
|
703
|
+
M
|
704
|
+
1
|
705
|
+
n
|
706
|
+
n
|
707
|
+
x
|
708
|
+
3
|
709
|
+
top
|
710
|
+
i
|
711
|
+
5
|
712
|
+
36
|
713
|
+
0
|
714
|
+
45
|
715
|
+
1
|
716
|
+
11
|
717
|
+
I
|
718
|
+
1
|
719
|
+
I
|
720
|
+
0
|
721
|
+
I
|
722
|
+
0
|
723
|
+
I
|
724
|
+
0
|
725
|
+
n
|
726
|
+
p
|
727
|
+
2
|
728
|
+
x
|
729
|
+
5
|
730
|
+
@list
|
731
|
+
x
|
732
|
+
4
|
733
|
+
head
|
734
|
+
p
|
735
|
+
5
|
736
|
+
I
|
737
|
+
0
|
738
|
+
I
|
739
|
+
18
|
740
|
+
I
|
741
|
+
0
|
742
|
+
I
|
743
|
+
19
|
744
|
+
I
|
745
|
+
5
|
746
|
+
x
|
747
|
+
58
|
748
|
+
/Users/haruki_zaemon/Projects/hamster/lib/hamster/stack.rb
|
749
|
+
p
|
750
|
+
0
|
751
|
+
n
|
752
|
+
x
|
753
|
+
4
|
754
|
+
push
|
755
|
+
M
|
756
|
+
1
|
757
|
+
n
|
758
|
+
n
|
759
|
+
x
|
760
|
+
4
|
761
|
+
push
|
762
|
+
i
|
763
|
+
38
|
764
|
+
5
|
765
|
+
45
|
766
|
+
0
|
767
|
+
13
|
768
|
+
67
|
769
|
+
1
|
770
|
+
47
|
771
|
+
9
|
772
|
+
27
|
773
|
+
44
|
774
|
+
45
|
775
|
+
2
|
776
|
+
13
|
777
|
+
36
|
778
|
+
3
|
779
|
+
18
|
780
|
+
0
|
781
|
+
46
|
782
|
+
4
|
783
|
+
1
|
784
|
+
44
|
785
|
+
46
|
786
|
+
5
|
787
|
+
1
|
788
|
+
14
|
789
|
+
8
|
790
|
+
37
|
791
|
+
36
|
792
|
+
3
|
793
|
+
18
|
794
|
+
0
|
795
|
+
46
|
796
|
+
4
|
797
|
+
1
|
798
|
+
46
|
799
|
+
1
|
800
|
+
1
|
801
|
+
11
|
802
|
+
I
|
803
|
+
5
|
804
|
+
I
|
805
|
+
1
|
806
|
+
I
|
807
|
+
1
|
808
|
+
I
|
809
|
+
1
|
810
|
+
n
|
811
|
+
p
|
812
|
+
6
|
813
|
+
x
|
814
|
+
5
|
815
|
+
class
|
816
|
+
x
|
817
|
+
3
|
818
|
+
new
|
819
|
+
x
|
820
|
+
8
|
821
|
+
allocate
|
822
|
+
x
|
823
|
+
5
|
824
|
+
@list
|
825
|
+
x
|
826
|
+
4
|
827
|
+
cons
|
828
|
+
x
|
829
|
+
10
|
830
|
+
initialize
|
831
|
+
p
|
832
|
+
5
|
833
|
+
I
|
834
|
+
0
|
835
|
+
I
|
836
|
+
1c
|
837
|
+
I
|
838
|
+
0
|
839
|
+
I
|
840
|
+
1d
|
841
|
+
I
|
842
|
+
26
|
843
|
+
x
|
844
|
+
58
|
845
|
+
/Users/haruki_zaemon/Projects/hamster/lib/hamster/stack.rb
|
846
|
+
p
|
847
|
+
1
|
848
|
+
x
|
849
|
+
4
|
850
|
+
item
|
851
|
+
x
|
852
|
+
2
|
853
|
+
<<
|
854
|
+
n
|
855
|
+
x
|
856
|
+
3
|
857
|
+
pop
|
858
|
+
M
|
859
|
+
1
|
860
|
+
n
|
861
|
+
n
|
862
|
+
x
|
863
|
+
3
|
864
|
+
pop
|
865
|
+
i
|
866
|
+
46
|
867
|
+
36
|
868
|
+
0
|
869
|
+
45
|
870
|
+
1
|
871
|
+
17
|
872
|
+
0
|
873
|
+
14
|
874
|
+
18
|
875
|
+
0
|
876
|
+
45
|
877
|
+
2
|
878
|
+
9
|
879
|
+
18
|
880
|
+
42
|
881
|
+
3
|
882
|
+
4
|
883
|
+
8
|
884
|
+
45
|
885
|
+
5
|
886
|
+
45
|
887
|
+
5
|
888
|
+
13
|
889
|
+
67
|
890
|
+
6
|
891
|
+
47
|
892
|
+
9
|
893
|
+
40
|
894
|
+
44
|
895
|
+
45
|
896
|
+
7
|
897
|
+
13
|
898
|
+
18
|
899
|
+
0
|
900
|
+
44
|
901
|
+
46
|
902
|
+
8
|
903
|
+
1
|
904
|
+
14
|
905
|
+
8
|
906
|
+
45
|
907
|
+
18
|
908
|
+
0
|
909
|
+
46
|
910
|
+
6
|
911
|
+
1
|
912
|
+
11
|
913
|
+
I
|
914
|
+
4
|
915
|
+
I
|
916
|
+
1
|
917
|
+
I
|
918
|
+
0
|
919
|
+
I
|
920
|
+
0
|
921
|
+
n
|
922
|
+
p
|
923
|
+
9
|
924
|
+
x
|
925
|
+
5
|
926
|
+
@list
|
927
|
+
x
|
928
|
+
4
|
929
|
+
tail
|
930
|
+
x
|
931
|
+
6
|
932
|
+
empty?
|
933
|
+
x
|
934
|
+
10
|
935
|
+
EmptyStack
|
936
|
+
n
|
937
|
+
x
|
938
|
+
5
|
939
|
+
class
|
940
|
+
x
|
941
|
+
3
|
942
|
+
new
|
943
|
+
x
|
944
|
+
8
|
945
|
+
allocate
|
946
|
+
x
|
947
|
+
10
|
948
|
+
initialize
|
949
|
+
p
|
950
|
+
11
|
951
|
+
I
|
952
|
+
0
|
953
|
+
I
|
954
|
+
21
|
955
|
+
I
|
956
|
+
0
|
957
|
+
I
|
958
|
+
22
|
959
|
+
I
|
960
|
+
7
|
961
|
+
I
|
962
|
+
23
|
963
|
+
I
|
964
|
+
d
|
965
|
+
I
|
966
|
+
24
|
967
|
+
I
|
968
|
+
12
|
969
|
+
I
|
970
|
+
26
|
971
|
+
I
|
972
|
+
2e
|
973
|
+
x
|
974
|
+
58
|
975
|
+
/Users/haruki_zaemon/Projects/hamster/lib/hamster/stack.rb
|
976
|
+
p
|
977
|
+
1
|
978
|
+
x
|
979
|
+
4
|
980
|
+
list
|
981
|
+
n
|
982
|
+
x
|
983
|
+
4
|
984
|
+
eql?
|
985
|
+
M
|
986
|
+
1
|
987
|
+
n
|
988
|
+
n
|
989
|
+
x
|
990
|
+
4
|
991
|
+
eql?
|
992
|
+
i
|
993
|
+
45
|
994
|
+
18
|
995
|
+
0
|
996
|
+
5
|
997
|
+
46
|
998
|
+
0
|
999
|
+
1
|
1000
|
+
9
|
1001
|
+
12
|
1002
|
+
2
|
1003
|
+
11
|
1004
|
+
8
|
1005
|
+
13
|
1006
|
+
1
|
1007
|
+
14
|
1008
|
+
18
|
1009
|
+
0
|
1010
|
+
45
|
1011
|
+
1
|
1012
|
+
5
|
1013
|
+
45
|
1014
|
+
1
|
1015
|
+
46
|
1016
|
+
0
|
1017
|
+
1
|
1018
|
+
9
|
1019
|
+
29
|
1020
|
+
1
|
1021
|
+
8
|
1022
|
+
31
|
1023
|
+
3
|
1024
|
+
11
|
1025
|
+
14
|
1026
|
+
36
|
1027
|
+
2
|
1028
|
+
18
|
1029
|
+
0
|
1030
|
+
53
|
1031
|
+
3
|
1032
|
+
47
|
1033
|
+
4
|
1034
|
+
0
|
1035
|
+
46
|
1036
|
+
5
|
1037
|
+
1
|
1038
|
+
11
|
1039
|
+
I
|
1040
|
+
4
|
1041
|
+
I
|
1042
|
+
1
|
1043
|
+
I
|
1044
|
+
1
|
1045
|
+
I
|
1046
|
+
1
|
1047
|
+
n
|
1048
|
+
p
|
1049
|
+
6
|
1050
|
+
x
|
1051
|
+
6
|
1052
|
+
equal?
|
1053
|
+
x
|
1054
|
+
5
|
1055
|
+
class
|
1056
|
+
x
|
1057
|
+
5
|
1058
|
+
@list
|
1059
|
+
M
|
1060
|
+
1
|
1061
|
+
n
|
1062
|
+
n
|
1063
|
+
x
|
1064
|
+
9
|
1065
|
+
__block__
|
1066
|
+
i
|
1067
|
+
3
|
1068
|
+
36
|
1069
|
+
0
|
1070
|
+
11
|
1071
|
+
I
|
1072
|
+
2
|
1073
|
+
I
|
1074
|
+
0
|
1075
|
+
I
|
1076
|
+
-1
|
1077
|
+
I
|
1078
|
+
-1
|
1079
|
+
n
|
1080
|
+
p
|
1081
|
+
1
|
1082
|
+
x
|
1083
|
+
5
|
1084
|
+
@list
|
1085
|
+
p
|
1086
|
+
3
|
1087
|
+
I
|
1088
|
+
0
|
1089
|
+
I
|
1090
|
+
2d
|
1091
|
+
I
|
1092
|
+
3
|
1093
|
+
x
|
1094
|
+
58
|
1095
|
+
/Users/haruki_zaemon/Projects/hamster/lib/hamster/stack.rb
|
1096
|
+
p
|
1097
|
+
0
|
1098
|
+
x
|
1099
|
+
13
|
1100
|
+
instance_eval
|
1101
|
+
x
|
1102
|
+
4
|
1103
|
+
eql?
|
1104
|
+
p
|
1105
|
+
9
|
1106
|
+
I
|
1107
|
+
0
|
1108
|
+
I
|
1109
|
+
2a
|
1110
|
+
I
|
1111
|
+
0
|
1112
|
+
I
|
1113
|
+
2b
|
1114
|
+
I
|
1115
|
+
e
|
1116
|
+
I
|
1117
|
+
2c
|
1118
|
+
I
|
1119
|
+
20
|
1120
|
+
I
|
1121
|
+
2d
|
1122
|
+
I
|
1123
|
+
2d
|
1124
|
+
x
|
1125
|
+
58
|
1126
|
+
/Users/haruki_zaemon/Projects/hamster/lib/hamster/stack.rb
|
1127
|
+
p
|
1128
|
+
1
|
1129
|
+
x
|
1130
|
+
5
|
1131
|
+
other
|
1132
|
+
x
|
1133
|
+
2
|
1134
|
+
==
|
1135
|
+
n
|
1136
|
+
x
|
1137
|
+
3
|
1138
|
+
dup
|
1139
|
+
M
|
1140
|
+
1
|
1141
|
+
n
|
1142
|
+
n
|
1143
|
+
x
|
1144
|
+
3
|
1145
|
+
dup
|
1146
|
+
i
|
1147
|
+
2
|
1148
|
+
5
|
1149
|
+
11
|
1150
|
+
I
|
1151
|
+
1
|
1152
|
+
I
|
1153
|
+
0
|
1154
|
+
I
|
1155
|
+
0
|
1156
|
+
I
|
1157
|
+
0
|
1158
|
+
n
|
1159
|
+
p
|
1160
|
+
0
|
1161
|
+
p
|
1162
|
+
5
|
1163
|
+
I
|
1164
|
+
0
|
1165
|
+
I
|
1166
|
+
31
|
1167
|
+
I
|
1168
|
+
0
|
1169
|
+
I
|
1170
|
+
32
|
1171
|
+
I
|
1172
|
+
2
|
1173
|
+
x
|
1174
|
+
58
|
1175
|
+
/Users/haruki_zaemon/Projects/hamster/lib/hamster/stack.rb
|
1176
|
+
p
|
1177
|
+
0
|
1178
|
+
x
|
1179
|
+
5
|
1180
|
+
clone
|
1181
|
+
n
|
1182
|
+
x
|
1183
|
+
7
|
1184
|
+
inspect
|
1185
|
+
M
|
1186
|
+
1
|
1187
|
+
n
|
1188
|
+
n
|
1189
|
+
x
|
1190
|
+
7
|
1191
|
+
inspect
|
1192
|
+
i
|
1193
|
+
5
|
1194
|
+
36
|
1195
|
+
0
|
1196
|
+
45
|
1197
|
+
1
|
1198
|
+
11
|
1199
|
+
I
|
1200
|
+
1
|
1201
|
+
I
|
1202
|
+
0
|
1203
|
+
I
|
1204
|
+
0
|
1205
|
+
I
|
1206
|
+
0
|
1207
|
+
n
|
1208
|
+
p
|
1209
|
+
2
|
1210
|
+
x
|
1211
|
+
5
|
1212
|
+
@list
|
1213
|
+
x
|
1214
|
+
7
|
1215
|
+
inspect
|
1216
|
+
p
|
1217
|
+
5
|
1218
|
+
I
|
1219
|
+
0
|
1220
|
+
I
|
1221
|
+
36
|
1222
|
+
I
|
1223
|
+
0
|
1224
|
+
I
|
1225
|
+
37
|
1226
|
+
I
|
1227
|
+
5
|
1228
|
+
x
|
1229
|
+
58
|
1230
|
+
/Users/haruki_zaemon/Projects/hamster/lib/hamster/stack.rb
|
1231
|
+
p
|
1232
|
+
0
|
1233
|
+
p
|
1234
|
+
27
|
1235
|
+
I
|
1236
|
+
2
|
1237
|
+
I
|
1238
|
+
b
|
1239
|
+
I
|
1240
|
+
11
|
1241
|
+
I
|
1242
|
+
f
|
1243
|
+
I
|
1244
|
+
20
|
1245
|
+
I
|
1246
|
+
13
|
1247
|
+
I
|
1248
|
+
2f
|
1249
|
+
I
|
1250
|
+
16
|
1251
|
+
I
|
1252
|
+
39
|
1253
|
+
I
|
1254
|
+
18
|
1255
|
+
I
|
1256
|
+
48
|
1257
|
+
I
|
1258
|
+
1c
|
1259
|
+
I
|
1260
|
+
57
|
1261
|
+
I
|
1262
|
+
1f
|
1263
|
+
I
|
1264
|
+
61
|
1265
|
+
I
|
1266
|
+
21
|
1267
|
+
I
|
1268
|
+
70
|
1269
|
+
I
|
1270
|
+
2a
|
1271
|
+
I
|
1272
|
+
7f
|
1273
|
+
I
|
1274
|
+
2f
|
1275
|
+
I
|
1276
|
+
89
|
1277
|
+
I
|
1278
|
+
31
|
1279
|
+
I
|
1280
|
+
98
|
1281
|
+
I
|
1282
|
+
34
|
1283
|
+
I
|
1284
|
+
a2
|
1285
|
+
I
|
1286
|
+
36
|
1287
|
+
I
|
1288
|
+
b1
|
1289
|
+
x
|
1290
|
+
58
|
1291
|
+
/Users/haruki_zaemon/Projects/hamster/lib/hamster/stack.rb
|
1292
|
+
p
|
1293
|
+
0
|
1294
|
+
x
|
1295
|
+
10
|
1296
|
+
EmptyStack
|
1297
|
+
n
|
1298
|
+
x
|
1299
|
+
3
|
1300
|
+
new
|
1301
|
+
x
|
1302
|
+
8
|
1303
|
+
allocate
|
1304
|
+
x
|
1305
|
+
7
|
1306
|
+
Hamster
|
1307
|
+
n
|
1308
|
+
x
|
1309
|
+
4
|
1310
|
+
list
|
1311
|
+
x
|
1312
|
+
10
|
1313
|
+
initialize
|
1314
|
+
n
|
1315
|
+
x
|
1316
|
+
9
|
1317
|
+
const_set
|
1318
|
+
p
|
1319
|
+
7
|
1320
|
+
I
|
1321
|
+
2
|
1322
|
+
I
|
1323
|
+
5
|
1324
|
+
I
|
1325
|
+
e
|
1326
|
+
I
|
1327
|
+
9
|
1328
|
+
I
|
1329
|
+
2c
|
1330
|
+
I
|
1331
|
+
3c
|
1332
|
+
I
|
1333
|
+
54
|
1334
|
+
x
|
1335
|
+
58
|
1336
|
+
/Users/haruki_zaemon/Projects/hamster/lib/hamster/stack.rb
|
1337
|
+
p
|
1338
|
+
0
|
1339
|
+
x
|
1340
|
+
13
|
1341
|
+
attach_method
|
1342
|
+
p
|
1343
|
+
5
|
1344
|
+
I
|
1345
|
+
0
|
1346
|
+
I
|
1347
|
+
1
|
1348
|
+
I
|
1349
|
+
9
|
1350
|
+
I
|
1351
|
+
3
|
1352
|
+
I
|
1353
|
+
28
|
1354
|
+
x
|
1355
|
+
58
|
1356
|
+
/Users/haruki_zaemon/Projects/hamster/lib/hamster/stack.rb
|
1357
|
+
p
|
1358
|
+
0
|