hamster 0.1.15 → 0.1.16

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