hamster 0.2.5 → 0.2.6

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