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
@@ -0,0 +1,1732 @@
1
+ !RBIX
2
+ 0
3
+ x
4
+ M
5
+ 1
6
+ n
7
+ n
8
+ x
9
+ 10
10
+ __script__
11
+ i
12
+ 48
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
+ 53
53
+ 12
54
+ 44
55
+ 47
56
+ 13
57
+ 1
58
+ 14
59
+ 2
60
+ 11
61
+ I
62
+ 4
63
+ I
64
+ 0
65
+ I
66
+ 0
67
+ I
68
+ 0
69
+ n
70
+ p
71
+ 14
72
+ x
73
+ 4
74
+ File
75
+ n
76
+ n
77
+ x
78
+ 11
79
+ active_path
80
+ x
81
+ 7
82
+ dirname
83
+ s
84
+ 18
85
+ /../../spec_helper
86
+ x
87
+ 1
88
+ +
89
+ x
90
+ 11
91
+ expand_path
92
+ x
93
+ 7
94
+ require
95
+ s
96
+ 12
97
+ hamster/list
98
+ x
99
+ 7
100
+ Hamster
101
+ n
102
+ M
103
+ 1
104
+ n
105
+ n
106
+ x
107
+ 9
108
+ __block__
109
+ i
110
+ 34
111
+ 5
112
+ 7
113
+ 0
114
+ 60
115
+ 53
116
+ 1
117
+ 44
118
+ 47
119
+ 2
120
+ 1
121
+ 14
122
+ 5
123
+ 7
124
+ 3
125
+ 60
126
+ 53
127
+ 4
128
+ 44
129
+ 47
130
+ 2
131
+ 1
132
+ 14
133
+ 7
134
+ 5
135
+ 7
136
+ 6
137
+ 32
138
+ 2
139
+ 53
140
+ 7
141
+ 47
142
+ 8
143
+ 0
144
+ 11
145
+ I
146
+ 4
147
+ I
148
+ 0
149
+ I
150
+ -1
151
+ I
152
+ -1
153
+ n
154
+ p
155
+ 9
156
+ s
157
+ 5
158
+ .list
159
+ M
160
+ 1
161
+ n
162
+ n
163
+ x
164
+ 9
165
+ __block__
166
+ i
167
+ 22
168
+ 5
169
+ 7
170
+ 0
171
+ 60
172
+ 53
173
+ 1
174
+ 44
175
+ 47
176
+ 2
177
+ 1
178
+ 14
179
+ 5
180
+ 7
181
+ 3
182
+ 60
183
+ 53
184
+ 4
185
+ 44
186
+ 47
187
+ 2
188
+ 1
189
+ 11
190
+ I
191
+ 4
192
+ I
193
+ 0
194
+ I
195
+ -1
196
+ I
197
+ -1
198
+ n
199
+ p
200
+ 5
201
+ s
202
+ 17
203
+ with no arguments
204
+ M
205
+ 1
206
+ n
207
+ n
208
+ x
209
+ 9
210
+ __block__
211
+ i
212
+ 30
213
+ 5
214
+ 53
215
+ 0
216
+ 44
217
+ 47
218
+ 1
219
+ 0
220
+ 14
221
+ 5
222
+ 7
223
+ 2
224
+ 60
225
+ 53
226
+ 3
227
+ 44
228
+ 47
229
+ 4
230
+ 1
231
+ 14
232
+ 5
233
+ 7
234
+ 5
235
+ 60
236
+ 53
237
+ 6
238
+ 44
239
+ 47
240
+ 4
241
+ 1
242
+ 11
243
+ I
244
+ 4
245
+ I
246
+ 0
247
+ I
248
+ -1
249
+ I
250
+ -1
251
+ n
252
+ p
253
+ 7
254
+ M
255
+ 1
256
+ n
257
+ n
258
+ x
259
+ 9
260
+ __block__
261
+ i
262
+ 8
263
+ 42
264
+ 0
265
+ 1
266
+ 45
267
+ 2
268
+ 35
269
+ 3
270
+ 11
271
+ I
272
+ 2
273
+ I
274
+ 0
275
+ I
276
+ -1
277
+ I
278
+ -1
279
+ n
280
+ p
281
+ 4
282
+ x
283
+ 7
284
+ Hamster
285
+ n
286
+ x
287
+ 4
288
+ list
289
+ x
290
+ 5
291
+ @list
292
+ p
293
+ 5
294
+ I
295
+ 0
296
+ I
297
+ b
298
+ I
299
+ 0
300
+ I
301
+ c
302
+ I
303
+ 8
304
+ x
305
+ 40
306
+ ./spec/hamster/list/construction_spec.rb
307
+ p
308
+ 0
309
+ x
310
+ 6
311
+ before
312
+ s
313
+ 32
314
+ always returns the same instance
315
+ M
316
+ 1
317
+ n
318
+ n
319
+ x
320
+ 9
321
+ __block__
322
+ i
323
+ 16
324
+ 36
325
+ 0
326
+ 5
327
+ 42
328
+ 1
329
+ 2
330
+ 45
331
+ 3
332
+ 44
333
+ 46
334
+ 4
335
+ 1
336
+ 46
337
+ 5
338
+ 1
339
+ 11
340
+ I
341
+ 4
342
+ I
343
+ 0
344
+ I
345
+ -1
346
+ I
347
+ -1
348
+ n
349
+ p
350
+ 6
351
+ x
352
+ 5
353
+ @list
354
+ x
355
+ 7
356
+ Hamster
357
+ n
358
+ x
359
+ 4
360
+ list
361
+ x
362
+ 5
363
+ equal
364
+ x
365
+ 6
366
+ should
367
+ p
368
+ 5
369
+ I
370
+ 0
371
+ I
372
+ f
373
+ I
374
+ 0
375
+ I
376
+ 10
377
+ I
378
+ 10
379
+ x
380
+ 40
381
+ ./spec/hamster/list/construction_spec.rb
382
+ p
383
+ 0
384
+ x
385
+ 2
386
+ it
387
+ s
388
+ 21
389
+ returns an empty list
390
+ M
391
+ 1
392
+ n
393
+ n
394
+ x
395
+ 9
396
+ __block__
397
+ i
398
+ 10
399
+ 36
400
+ 0
401
+ 5
402
+ 44
403
+ 45
404
+ 1
405
+ 46
406
+ 2
407
+ 1
408
+ 11
409
+ I
410
+ 3
411
+ I
412
+ 0
413
+ I
414
+ -1
415
+ I
416
+ -1
417
+ n
418
+ p
419
+ 3
420
+ x
421
+ 5
422
+ @list
423
+ x
424
+ 8
425
+ be_empty
426
+ x
427
+ 6
428
+ should
429
+ p
430
+ 5
431
+ I
432
+ 0
433
+ I
434
+ 13
435
+ I
436
+ 0
437
+ I
438
+ 14
439
+ I
440
+ a
441
+ x
442
+ 40
443
+ ./spec/hamster/list/construction_spec.rb
444
+ p
445
+ 0
446
+ p
447
+ 9
448
+ I
449
+ 0
450
+ I
451
+ 9
452
+ I
453
+ 0
454
+ I
455
+ b
456
+ I
457
+ 8
458
+ I
459
+ f
460
+ I
461
+ 13
462
+ I
463
+ 13
464
+ I
465
+ 1e
466
+ x
467
+ 40
468
+ ./spec/hamster/list/construction_spec.rb
469
+ p
470
+ 0
471
+ x
472
+ 8
473
+ describe
474
+ s
475
+ 22
476
+ with a number of items
477
+ M
478
+ 1
479
+ n
480
+ n
481
+ x
482
+ 9
483
+ __block__
484
+ i
485
+ 30
486
+ 5
487
+ 53
488
+ 0
489
+ 44
490
+ 47
491
+ 1
492
+ 0
493
+ 14
494
+ 5
495
+ 7
496
+ 2
497
+ 60
498
+ 53
499
+ 3
500
+ 44
501
+ 47
502
+ 4
503
+ 1
504
+ 14
505
+ 5
506
+ 7
507
+ 5
508
+ 60
509
+ 53
510
+ 6
511
+ 44
512
+ 47
513
+ 4
514
+ 1
515
+ 11
516
+ I
517
+ 4
518
+ I
519
+ 0
520
+ I
521
+ -1
522
+ I
523
+ -1
524
+ n
525
+ p
526
+ 7
527
+ M
528
+ 1
529
+ n
530
+ n
531
+ x
532
+ 9
533
+ __block__
534
+ i
535
+ 18
536
+ 42
537
+ 0
538
+ 1
539
+ 7
540
+ 2
541
+ 60
542
+ 7
543
+ 3
544
+ 60
545
+ 7
546
+ 4
547
+ 60
548
+ 46
549
+ 5
550
+ 3
551
+ 35
552
+ 6
553
+ 11
554
+ I
555
+ 5
556
+ I
557
+ 0
558
+ I
559
+ -1
560
+ I
561
+ -1
562
+ n
563
+ p
564
+ 7
565
+ x
566
+ 7
567
+ Hamster
568
+ n
569
+ s
570
+ 1
571
+ A
572
+ s
573
+ 1
574
+ B
575
+ s
576
+ 1
577
+ C
578
+ x
579
+ 4
580
+ list
581
+ x
582
+ 5
583
+ @list
584
+ p
585
+ 5
586
+ I
587
+ 0
588
+ I
589
+ 1b
590
+ I
591
+ 0
592
+ I
593
+ 1c
594
+ I
595
+ 12
596
+ x
597
+ 40
598
+ ./spec/hamster/list/construction_spec.rb
599
+ p
600
+ 0
601
+ x
602
+ 6
603
+ before
604
+ s
605
+ 35
606
+ always returns a different instance
607
+ M
608
+ 1
609
+ n
610
+ n
611
+ x
612
+ 9
613
+ __block__
614
+ i
615
+ 26
616
+ 36
617
+ 0
618
+ 5
619
+ 42
620
+ 1
621
+ 2
622
+ 7
623
+ 3
624
+ 60
625
+ 7
626
+ 4
627
+ 60
628
+ 7
629
+ 5
630
+ 60
631
+ 46
632
+ 6
633
+ 3
634
+ 44
635
+ 46
636
+ 7
637
+ 1
638
+ 46
639
+ 8
640
+ 1
641
+ 11
642
+ I
643
+ 7
644
+ I
645
+ 0
646
+ I
647
+ -1
648
+ I
649
+ -1
650
+ n
651
+ p
652
+ 9
653
+ x
654
+ 5
655
+ @list
656
+ x
657
+ 7
658
+ Hamster
659
+ n
660
+ s
661
+ 1
662
+ A
663
+ s
664
+ 1
665
+ B
666
+ s
667
+ 1
668
+ C
669
+ x
670
+ 4
671
+ list
672
+ x
673
+ 5
674
+ equal
675
+ x
676
+ 10
677
+ should_not
678
+ p
679
+ 5
680
+ I
681
+ 0
682
+ I
683
+ 1f
684
+ I
685
+ 0
686
+ I
687
+ 20
688
+ I
689
+ 1a
690
+ x
691
+ 40
692
+ ./spec/hamster/list/construction_spec.rb
693
+ p
694
+ 0
695
+ x
696
+ 2
697
+ it
698
+ s
699
+ 37
700
+ is the same as repeatedly using #cons
701
+ M
702
+ 1
703
+ n
704
+ n
705
+ x
706
+ 9
707
+ __block__
708
+ i
709
+ 30
710
+ 36
711
+ 0
712
+ 45
713
+ 1
714
+ 42
715
+ 2
716
+ 3
717
+ 45
718
+ 4
719
+ 7
720
+ 5
721
+ 60
722
+ 46
723
+ 6
724
+ 1
725
+ 7
726
+ 7
727
+ 60
728
+ 46
729
+ 6
730
+ 1
731
+ 7
732
+ 8
733
+ 60
734
+ 46
735
+ 6
736
+ 1
737
+ 79
738
+ 9
739
+ 11
740
+ I
741
+ 4
742
+ I
743
+ 0
744
+ I
745
+ -1
746
+ I
747
+ -1
748
+ n
749
+ p
750
+ 10
751
+ x
752
+ 5
753
+ @list
754
+ x
755
+ 6
756
+ should
757
+ x
758
+ 7
759
+ Hamster
760
+ n
761
+ x
762
+ 4
763
+ list
764
+ s
765
+ 1
766
+ C
767
+ x
768
+ 4
769
+ cons
770
+ s
771
+ 1
772
+ B
773
+ s
774
+ 1
775
+ A
776
+ x
777
+ 2
778
+ ==
779
+ p
780
+ 5
781
+ I
782
+ 0
783
+ I
784
+ 23
785
+ I
786
+ 0
787
+ I
788
+ 24
789
+ I
790
+ 1e
791
+ x
792
+ 40
793
+ ./spec/hamster/list/construction_spec.rb
794
+ p
795
+ 0
796
+ p
797
+ 9
798
+ I
799
+ 0
800
+ I
801
+ 19
802
+ I
803
+ 0
804
+ I
805
+ 1b
806
+ I
807
+ 8
808
+ I
809
+ 1f
810
+ I
811
+ 13
812
+ I
813
+ 23
814
+ I
815
+ 1e
816
+ x
817
+ 40
818
+ ./spec/hamster/list/construction_spec.rb
819
+ p
820
+ 0
821
+ p
822
+ 7
823
+ I
824
+ 0
825
+ I
826
+ 7
827
+ I
828
+ 0
829
+ I
830
+ 9
831
+ I
832
+ b
833
+ I
834
+ 19
835
+ I
836
+ 16
837
+ x
838
+ 40
839
+ ./spec/hamster/list/construction_spec.rb
840
+ p
841
+ 0
842
+ x
843
+ 8
844
+ describe
845
+ s
846
+ 7
847
+ .stream
848
+ M
849
+ 1
850
+ n
851
+ n
852
+ x
853
+ 9
854
+ __block__
855
+ i
856
+ 22
857
+ 5
858
+ 7
859
+ 0
860
+ 60
861
+ 53
862
+ 1
863
+ 44
864
+ 47
865
+ 2
866
+ 1
867
+ 14
868
+ 5
869
+ 7
870
+ 3
871
+ 60
872
+ 53
873
+ 4
874
+ 44
875
+ 47
876
+ 2
877
+ 1
878
+ 11
879
+ I
880
+ 4
881
+ I
882
+ 0
883
+ I
884
+ -1
885
+ I
886
+ -1
887
+ n
888
+ p
889
+ 5
890
+ s
891
+ 13
892
+ with no block
893
+ M
894
+ 1
895
+ n
896
+ n
897
+ x
898
+ 9
899
+ __block__
900
+ i
901
+ 19
902
+ 5
903
+ 53
904
+ 0
905
+ 44
906
+ 47
907
+ 1
908
+ 0
909
+ 14
910
+ 5
911
+ 7
912
+ 2
913
+ 60
914
+ 53
915
+ 3
916
+ 44
917
+ 47
918
+ 4
919
+ 1
920
+ 11
921
+ I
922
+ 4
923
+ I
924
+ 0
925
+ I
926
+ -1
927
+ I
928
+ -1
929
+ n
930
+ p
931
+ 5
932
+ M
933
+ 1
934
+ n
935
+ n
936
+ x
937
+ 9
938
+ __block__
939
+ i
940
+ 8
941
+ 42
942
+ 0
943
+ 1
944
+ 45
945
+ 2
946
+ 35
947
+ 3
948
+ 11
949
+ I
950
+ 2
951
+ I
952
+ 0
953
+ I
954
+ -1
955
+ I
956
+ -1
957
+ n
958
+ p
959
+ 4
960
+ x
961
+ 7
962
+ Hamster
963
+ n
964
+ x
965
+ 6
966
+ stream
967
+ x
968
+ 7
969
+ @stream
970
+ p
971
+ 5
972
+ I
973
+ 0
974
+ I
975
+ 2f
976
+ I
977
+ 0
978
+ I
979
+ 30
980
+ I
981
+ 8
982
+ x
983
+ 40
984
+ ./spec/hamster/list/construction_spec.rb
985
+ p
986
+ 0
987
+ x
988
+ 6
989
+ before
990
+ s
991
+ 21
992
+ returns an empty list
993
+ M
994
+ 1
995
+ n
996
+ n
997
+ x
998
+ 9
999
+ __block__
1000
+ i
1001
+ 12
1002
+ 36
1003
+ 0
1004
+ 45
1005
+ 1
1006
+ 42
1007
+ 2
1008
+ 3
1009
+ 45
1010
+ 4
1011
+ 79
1012
+ 5
1013
+ 11
1014
+ I
1015
+ 3
1016
+ I
1017
+ 0
1018
+ I
1019
+ -1
1020
+ I
1021
+ -1
1022
+ n
1023
+ p
1024
+ 6
1025
+ x
1026
+ 7
1027
+ @stream
1028
+ x
1029
+ 6
1030
+ should
1031
+ x
1032
+ 7
1033
+ Hamster
1034
+ n
1035
+ x
1036
+ 4
1037
+ list
1038
+ x
1039
+ 2
1040
+ ==
1041
+ p
1042
+ 5
1043
+ I
1044
+ 0
1045
+ I
1046
+ 33
1047
+ I
1048
+ 0
1049
+ I
1050
+ 34
1051
+ I
1052
+ c
1053
+ x
1054
+ 40
1055
+ ./spec/hamster/list/construction_spec.rb
1056
+ p
1057
+ 0
1058
+ x
1059
+ 2
1060
+ it
1061
+ p
1062
+ 7
1063
+ I
1064
+ 0
1065
+ I
1066
+ 2d
1067
+ I
1068
+ 0
1069
+ I
1070
+ 2f
1071
+ I
1072
+ 8
1073
+ I
1074
+ 33
1075
+ I
1076
+ 13
1077
+ x
1078
+ 40
1079
+ ./spec/hamster/list/construction_spec.rb
1080
+ p
1081
+ 0
1082
+ x
1083
+ 8
1084
+ describe
1085
+ s
1086
+ 12
1087
+ with a block
1088
+ M
1089
+ 1
1090
+ n
1091
+ n
1092
+ x
1093
+ 9
1094
+ __block__
1095
+ i
1096
+ 19
1097
+ 5
1098
+ 53
1099
+ 0
1100
+ 44
1101
+ 47
1102
+ 1
1103
+ 0
1104
+ 14
1105
+ 5
1106
+ 7
1107
+ 2
1108
+ 60
1109
+ 53
1110
+ 3
1111
+ 44
1112
+ 47
1113
+ 4
1114
+ 1
1115
+ 11
1116
+ I
1117
+ 4
1118
+ I
1119
+ 0
1120
+ I
1121
+ -1
1122
+ I
1123
+ -1
1124
+ n
1125
+ p
1126
+ 5
1127
+ M
1128
+ 1
1129
+ n
1130
+ n
1131
+ x
1132
+ 9
1133
+ __block__
1134
+ i
1135
+ 15
1136
+ 74
1137
+ 17
1138
+ 0
1139
+ 14
1140
+ 42
1141
+ 0
1142
+ 1
1143
+ 53
1144
+ 2
1145
+ 47
1146
+ 3
1147
+ 0
1148
+ 35
1149
+ 4
1150
+ 11
1151
+ I
1152
+ 4
1153
+ I
1154
+ 1
1155
+ I
1156
+ -1
1157
+ I
1158
+ -1
1159
+ n
1160
+ p
1161
+ 5
1162
+ x
1163
+ 7
1164
+ Hamster
1165
+ n
1166
+ M
1167
+ 1
1168
+ n
1169
+ n
1170
+ x
1171
+ 9
1172
+ __block__
1173
+ i
1174
+ 10
1175
+ 19
1176
+ 1
1177
+ 0
1178
+ 75
1179
+ 77
1180
+ 0
1181
+ 20
1182
+ 1
1183
+ 0
1184
+ 11
1185
+ I
1186
+ 3
1187
+ I
1188
+ 0
1189
+ I
1190
+ -1
1191
+ I
1192
+ -1
1193
+ n
1194
+ p
1195
+ 1
1196
+ x
1197
+ 1
1198
+ +
1199
+ p
1200
+ 3
1201
+ I
1202
+ 0
1203
+ I
1204
+ 3d
1205
+ I
1206
+ a
1207
+ x
1208
+ 40
1209
+ ./spec/hamster/list/construction_spec.rb
1210
+ p
1211
+ 0
1212
+ x
1213
+ 6
1214
+ stream
1215
+ x
1216
+ 7
1217
+ @stream
1218
+ p
1219
+ 7
1220
+ I
1221
+ 0
1222
+ I
1223
+ 3b
1224
+ I
1225
+ 0
1226
+ I
1227
+ 3c
1228
+ I
1229
+ 4
1230
+ I
1231
+ 3d
1232
+ I
1233
+ f
1234
+ x
1235
+ 40
1236
+ ./spec/hamster/list/construction_spec.rb
1237
+ p
1238
+ 1
1239
+ x
1240
+ 5
1241
+ count
1242
+ x
1243
+ 6
1244
+ before
1245
+ s
1246
+ 26
1247
+ repeatedly calls the block
1248
+ M
1249
+ 1
1250
+ n
1251
+ n
1252
+ x
1253
+ 9
1254
+ __block__
1255
+ i
1256
+ 26
1257
+ 36
1258
+ 0
1259
+ 4
1260
+ 5
1261
+ 46
1262
+ 1
1263
+ 1
1264
+ 45
1265
+ 2
1266
+ 42
1267
+ 3
1268
+ 4
1269
+ 75
1270
+ 76
1271
+ 4
1272
+ 3
1273
+ 4
1274
+ 4
1275
+ 4
1276
+ 5
1277
+ 46
1278
+ 5
1279
+ 5
1280
+ 79
1281
+ 6
1282
+ 11
1283
+ I
1284
+ 8
1285
+ I
1286
+ 0
1287
+ I
1288
+ -1
1289
+ I
1290
+ -1
1291
+ n
1292
+ p
1293
+ 7
1294
+ x
1295
+ 7
1296
+ @stream
1297
+ x
1298
+ 4
1299
+ take
1300
+ x
1301
+ 6
1302
+ should
1303
+ x
1304
+ 7
1305
+ Hamster
1306
+ n
1307
+ x
1308
+ 4
1309
+ list
1310
+ x
1311
+ 2
1312
+ ==
1313
+ p
1314
+ 5
1315
+ I
1316
+ 0
1317
+ I
1318
+ 40
1319
+ I
1320
+ 0
1321
+ I
1322
+ 41
1323
+ I
1324
+ 1a
1325
+ x
1326
+ 40
1327
+ ./spec/hamster/list/construction_spec.rb
1328
+ p
1329
+ 0
1330
+ x
1331
+ 2
1332
+ it
1333
+ p
1334
+ 7
1335
+ I
1336
+ 0
1337
+ I
1338
+ 39
1339
+ I
1340
+ 0
1341
+ I
1342
+ 3b
1343
+ I
1344
+ 8
1345
+ I
1346
+ 40
1347
+ I
1348
+ 13
1349
+ x
1350
+ 40
1351
+ ./spec/hamster/list/construction_spec.rb
1352
+ p
1353
+ 0
1354
+ p
1355
+ 7
1356
+ I
1357
+ 0
1358
+ I
1359
+ 2b
1360
+ I
1361
+ 0
1362
+ I
1363
+ 2d
1364
+ I
1365
+ b
1366
+ I
1367
+ 39
1368
+ I
1369
+ 16
1370
+ x
1371
+ 40
1372
+ ./spec/hamster/list/construction_spec.rb
1373
+ p
1374
+ 0
1375
+ x
1376
+ 8
1377
+ interval
1378
+ x
1379
+ 5
1380
+ range
1381
+ M
1382
+ 1
1383
+ n
1384
+ n
1385
+ x
1386
+ 9
1387
+ __block__
1388
+ i
1389
+ 21
1390
+ 54
1391
+ 17
1392
+ 0
1393
+ 14
1394
+ 5
1395
+ 18
1396
+ 0
1397
+ 44
1398
+ 45
1399
+ 0
1400
+ 7
1401
+ 1
1402
+ 60
1403
+ 59
1404
+ 53
1405
+ 2
1406
+ 44
1407
+ 47
1408
+ 3
1409
+ 1
1410
+ 11
1411
+ I
1412
+ 5
1413
+ I
1414
+ 1
1415
+ I
1416
+ 1
1417
+ I
1418
+ 1
1419
+ n
1420
+ p
1421
+ 4
1422
+ x
1423
+ 4
1424
+ to_s
1425
+ s
1426
+ 1
1427
+ .
1428
+ M
1429
+ 1
1430
+ n
1431
+ n
1432
+ x
1433
+ 9
1434
+ __block__
1435
+ i
1436
+ 19
1437
+ 5
1438
+ 53
1439
+ 0
1440
+ 44
1441
+ 47
1442
+ 1
1443
+ 0
1444
+ 14
1445
+ 5
1446
+ 7
1447
+ 2
1448
+ 60
1449
+ 53
1450
+ 3
1451
+ 44
1452
+ 47
1453
+ 4
1454
+ 1
1455
+ 11
1456
+ I
1457
+ 4
1458
+ I
1459
+ 0
1460
+ I
1461
+ -1
1462
+ I
1463
+ -1
1464
+ n
1465
+ p
1466
+ 5
1467
+ M
1468
+ 1
1469
+ n
1470
+ n
1471
+ x
1472
+ 9
1473
+ __block__
1474
+ i
1475
+ 18
1476
+ 42
1477
+ 0
1478
+ 1
1479
+ 19
1480
+ 2
1481
+ 0
1482
+ 7
1483
+ 2
1484
+ 60
1485
+ 7
1486
+ 3
1487
+ 60
1488
+ 46
1489
+ 4
1490
+ 3
1491
+ 35
1492
+ 5
1493
+ 11
1494
+ I
1495
+ 5
1496
+ I
1497
+ 0
1498
+ I
1499
+ -1
1500
+ I
1501
+ -1
1502
+ n
1503
+ p
1504
+ 6
1505
+ x
1506
+ 7
1507
+ Hamster
1508
+ n
1509
+ s
1510
+ 1
1511
+ A
1512
+ s
1513
+ 1
1514
+ D
1515
+ x
1516
+ 4
1517
+ send
1518
+ x
1519
+ 9
1520
+ @interval
1521
+ p
1522
+ 5
1523
+ I
1524
+ 0
1525
+ I
1526
+ 4c
1527
+ I
1528
+ 0
1529
+ I
1530
+ 4d
1531
+ I
1532
+ 12
1533
+ x
1534
+ 40
1535
+ ./spec/hamster/list/construction_spec.rb
1536
+ p
1537
+ 0
1538
+ x
1539
+ 6
1540
+ before
1541
+ s
1542
+ 44
1543
+ is equivalent to a list with explicit values
1544
+ M
1545
+ 1
1546
+ n
1547
+ n
1548
+ x
1549
+ 9
1550
+ __block__
1551
+ i
1552
+ 25
1553
+ 36
1554
+ 0
1555
+ 45
1556
+ 1
1557
+ 42
1558
+ 2
1559
+ 3
1560
+ 7
1561
+ 4
1562
+ 60
1563
+ 7
1564
+ 5
1565
+ 60
1566
+ 7
1567
+ 6
1568
+ 60
1569
+ 7
1570
+ 7
1571
+ 60
1572
+ 46
1573
+ 8
1574
+ 4
1575
+ 79
1576
+ 9
1577
+ 11
1578
+ I
1579
+ 7
1580
+ I
1581
+ 0
1582
+ I
1583
+ -1
1584
+ I
1585
+ -1
1586
+ n
1587
+ p
1588
+ 10
1589
+ x
1590
+ 9
1591
+ @interval
1592
+ x
1593
+ 6
1594
+ should
1595
+ x
1596
+ 7
1597
+ Hamster
1598
+ n
1599
+ s
1600
+ 1
1601
+ A
1602
+ s
1603
+ 1
1604
+ B
1605
+ s
1606
+ 1
1607
+ C
1608
+ s
1609
+ 1
1610
+ D
1611
+ x
1612
+ 4
1613
+ list
1614
+ x
1615
+ 2
1616
+ ==
1617
+ p
1618
+ 5
1619
+ I
1620
+ 0
1621
+ I
1622
+ 50
1623
+ I
1624
+ 0
1625
+ I
1626
+ 51
1627
+ I
1628
+ 19
1629
+ x
1630
+ 40
1631
+ ./spec/hamster/list/construction_spec.rb
1632
+ p
1633
+ 0
1634
+ x
1635
+ 2
1636
+ it
1637
+ p
1638
+ 7
1639
+ I
1640
+ 0
1641
+ I
1642
+ 4a
1643
+ I
1644
+ 0
1645
+ I
1646
+ 4c
1647
+ I
1648
+ 8
1649
+ I
1650
+ 50
1651
+ I
1652
+ 13
1653
+ x
1654
+ 40
1655
+ ./spec/hamster/list/construction_spec.rb
1656
+ p
1657
+ 0
1658
+ x
1659
+ 8
1660
+ describe
1661
+ p
1662
+ 5
1663
+ I
1664
+ 0
1665
+ I
1666
+ 48
1667
+ I
1668
+ 4
1669
+ I
1670
+ 4a
1671
+ I
1672
+ 15
1673
+ x
1674
+ 40
1675
+ ./spec/hamster/list/construction_spec.rb
1676
+ p
1677
+ 1
1678
+ x
1679
+ 6
1680
+ method
1681
+ x
1682
+ 4
1683
+ each
1684
+ p
1685
+ 9
1686
+ I
1687
+ 0
1688
+ I
1689
+ 5
1690
+ I
1691
+ 0
1692
+ I
1693
+ 7
1694
+ I
1695
+ b
1696
+ I
1697
+ 2b
1698
+ I
1699
+ 16
1700
+ I
1701
+ 48
1702
+ I
1703
+ 22
1704
+ x
1705
+ 40
1706
+ ./spec/hamster/list/construction_spec.rb
1707
+ p
1708
+ 0
1709
+ x
1710
+ 8
1711
+ describe
1712
+ p
1713
+ 7
1714
+ I
1715
+ 0
1716
+ I
1717
+ 1
1718
+ I
1719
+ 1a
1720
+ I
1721
+ 3
1722
+ I
1723
+ 23
1724
+ I
1725
+ 5
1726
+ I
1727
+ 30
1728
+ x
1729
+ 40
1730
+ ./spec/hamster/list/construction_spec.rb
1731
+ p
1732
+ 0