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,1528 +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
- 10
153
- #partition
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
- 32
198
- 1
199
- 77
200
- 32
201
- 1
202
- 32
203
- 3
204
- 76
205
- 77
206
- 4
207
- 3
208
- 32
209
- 3
210
- 76
211
- 4
212
- 3
213
- 32
214
- 2
215
- 77
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
- 4
230
- 3
231
- 32
232
- 2
233
- 77
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
- 4
248
- 3
249
- 32
250
- 1
251
- 77
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
- 4
265
- 3
266
- 32
267
- 1
268
- 4
269
- 4
270
- 32
271
- 1
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
- 11
354
- 42
355
- 0
356
- 1
357
- 53
358
- 2
359
- 47
360
- 3
361
- 0
362
- 45
363
- 4
364
- 11
365
- I
366
- 3
367
- I
368
- 0
369
- I
370
- 0
371
- I
372
- 0
373
- I
374
- -2
375
- p
376
- 5
377
- x
378
- 7
379
- Hamster
380
- n
381
- M
382
- 1
383
- n
384
- n
385
- x
386
- 9
387
- __block__
388
- i
389
- 5
390
- 5
391
- 44
392
- 45
393
- 0
394
- 11
395
- I
396
- 2
397
- I
398
- 0
399
- I
400
- 0
401
- I
402
- 0
403
- I
404
- -2
405
- p
406
- 1
407
- x
408
- 4
409
- fail
410
- p
411
- 3
412
- I
413
- 0
414
- I
415
- b
416
- I
417
- 5
418
- x
419
- 37
420
- ./spec/hamster/list/partition_spec.rb
421
- p
422
- 0
423
- x
424
- 6
425
- stream
426
- x
427
- 9
428
- partition
429
- p
430
- 3
431
- I
432
- 0
433
- I
434
- b
435
- I
436
- b
437
- x
438
- 37
439
- ./spec/hamster/list/partition_spec.rb
440
- p
441
- 0
442
- x
443
- 6
444
- lambda
445
- x
446
- 11
447
- raise_error
448
- x
449
- 10
450
- should_not
451
- p
452
- 5
453
- I
454
- 0
455
- I
456
- a
457
- I
458
- 0
459
- I
460
- b
461
- I
462
- f
463
- x
464
- 37
465
- ./spec/hamster/list/partition_spec.rb
466
- p
467
- 0
468
- x
469
- 2
470
- it
471
- M
472
- 1
473
- n
474
- n
475
- x
476
- 9
477
- __block__
478
- i
479
- 34
480
- 55
481
- 33
482
- 34
483
- 17
484
- 0
485
- 14
486
- 34
487
- 17
488
- 1
489
- 14
490
- 34
491
- 17
492
- 2
493
- 14
494
- 14
495
- 5
496
- 7
497
- 0
498
- 18
499
- 0
500
- 45
501
- 1
502
- 44
503
- 45
504
- 2
505
- 60
506
- 2
507
- 53
508
- 3
509
- 44
510
- 47
511
- 4
512
- 1
513
- 11
514
- I
515
- 7
516
- I
517
- 3
518
- I
519
- 3
520
- I
521
- 3
522
- I
523
- -1
524
- p
525
- 5
526
- s
527
- 3
528
- on
529
- x
530
- 7
531
- inspect
532
- x
533
- 4
534
- to_s
535
- M
536
- 1
537
- n
538
- n
539
- x
540
- 9
541
- __block__
542
- i
543
- 30
544
- 5
545
- 53
546
- 0
547
- 44
548
- 47
549
- 1
550
- 0
551
- 14
552
- 5
553
- 7
554
- 2
555
- 61
556
- 53
557
- 3
558
- 44
559
- 47
560
- 4
561
- 1
562
- 14
563
- 5
564
- 7
565
- 5
566
- 61
567
- 53
568
- 6
569
- 44
570
- 47
571
- 4
572
- 1
573
- 11
574
- I
575
- 4
576
- I
577
- 0
578
- I
579
- 0
580
- I
581
- 0
582
- I
583
- -2
584
- p
585
- 7
586
- M
587
- 1
588
- n
589
- n
590
- x
591
- 9
592
- __block__
593
- i
594
- 14
595
- 42
596
- 0
597
- 1
598
- 19
599
- 2
600
- 0
601
- 33
602
- 1
603
- 48
604
- 2
605
- 0
606
- 35
607
- 3
608
- 11
609
- I
610
- 4
611
- I
612
- 0
613
- I
614
- 0
615
- I
616
- 0
617
- I
618
- -2
619
- p
620
- 4
621
- x
622
- 7
623
- Hamster
624
- n
625
- x
626
- 4
627
- list
628
- x
629
- 9
630
- @original
631
- p
632
- 5
633
- I
634
- 0
635
- I
636
- 1b
637
- I
638
- 0
639
- I
640
- 1c
641
- I
642
- e
643
- x
644
- 37
645
- ./spec/hamster/list/partition_spec.rb
646
- p
647
- 0
648
- x
649
- 6
650
- before
651
- s
652
- 12
653
- with a block
654
- M
655
- 1
656
- n
657
- n
658
- x
659
- 9
660
- __block__
661
- i
662
- 52
663
- 5
664
- 53
665
- 0
666
- 44
667
- 47
668
- 1
669
- 0
670
- 14
671
- 5
672
- 7
673
- 2
674
- 61
675
- 53
676
- 3
677
- 44
678
- 47
679
- 4
680
- 1
681
- 14
682
- 5
683
- 7
684
- 5
685
- 61
686
- 53
687
- 6
688
- 44
689
- 47
690
- 4
691
- 1
692
- 14
693
- 5
694
- 7
695
- 7
696
- 61
697
- 53
698
- 8
699
- 44
700
- 47
701
- 4
702
- 1
703
- 14
704
- 5
705
- 7
706
- 9
707
- 61
708
- 53
709
- 10
710
- 44
711
- 47
712
- 4
713
- 1
714
- 11
715
- I
716
- 4
717
- I
718
- 0
719
- I
720
- 0
721
- I
722
- 0
723
- I
724
- -2
725
- p
726
- 11
727
- M
728
- 1
729
- n
730
- n
731
- x
732
- 9
733
- __block__
734
- i
735
- 35
736
- 36
737
- 0
738
- 7
739
- 1
740
- 13
741
- 67
742
- 10
743
- 15
744
- 41
745
- 40
746
- 2
747
- 12
748
- 46
749
- 3
750
- 1
751
- 47
752
- 4
753
- 0
754
- 35
755
- 5
756
- 14
757
- 36
758
- 5
759
- 45
760
- 6
761
- 35
762
- 7
763
- 14
764
- 36
765
- 5
766
- 45
767
- 8
768
- 35
769
- 9
770
- 11
771
- I
772
- 4
773
- I
774
- 0
775
- I
776
- 0
777
- I
778
- 0
779
- I
780
- -2
781
- p
782
- 10
783
- x
784
- 9
785
- @original
786
- x
787
- 4
788
- odd?
789
- x
790
- 4
791
- Proc
792
- x
793
- 14
794
- __from_block__
795
- x
796
- 9
797
- partition
798
- x
799
- 7
800
- @result
801
- x
802
- 5
803
- first
804
- x
805
- 8
806
- @matches
807
- x
808
- 4
809
- last
810
- x
811
- 10
812
- @remainder
813
- p
814
- 9
815
- I
816
- 0
817
- I
818
- 21
819
- I
820
- 0
821
- I
822
- 22
823
- I
824
- 15
825
- I
826
- 23
827
- I
828
- 1c
829
- I
830
- 24
831
- I
832
- 23
833
- x
834
- 37
835
- ./spec/hamster/list/partition_spec.rb
836
- p
837
- 0
838
- x
839
- 6
840
- before
841
- s
842
- 22
843
- preserves the original
844
- M
845
- 1
846
- n
847
- n
848
- x
849
- 9
850
- __block__
851
- i
852
- 18
853
- 36
854
- 0
855
- 45
856
- 1
857
- 42
858
- 2
859
- 3
860
- 19
861
- 3
862
- 0
863
- 33
864
- 1
865
- 48
866
- 4
867
- 0
868
- 80
869
- 5
870
- 11
871
- I
872
- 5
873
- I
874
- 0
875
- I
876
- 0
877
- I
878
- 0
879
- I
880
- -2
881
- p
882
- 6
883
- x
884
- 9
885
- @original
886
- x
887
- 6
888
- should
889
- x
890
- 7
891
- Hamster
892
- n
893
- x
894
- 4
895
- list
896
- x
897
- 2
898
- ==
899
- p
900
- 5
901
- I
902
- 0
903
- I
904
- 27
905
- I
906
- 0
907
- I
908
- 28
909
- I
910
- 12
911
- x
912
- 37
913
- ./spec/hamster/list/partition_spec.rb
914
- p
915
- 0
916
- x
917
- 2
918
- it
919
- s
920
- 30
921
- returns a tuple with two items
922
- M
923
- 1
924
- n
925
- n
926
- x
927
- 9
928
- __block__
929
- i
930
- 16
931
- 36
932
- 0
933
- 42
934
- 1
935
- 2
936
- 40
937
- 3
938
- 46
939
- 4
940
- 1
941
- 45
942
- 5
943
- 2
944
- 80
945
- 6
946
- 11
947
- I
948
- 3
949
- I
950
- 0
951
- I
952
- 0
953
- I
954
- 0
955
- I
956
- -2
957
- p
958
- 7
959
- x
960
- 7
961
- @result
962
- x
963
- 7
964
- Hamster
965
- n
966
- x
967
- 5
968
- Tuple
969
- x
970
- 5
971
- is_a?
972
- x
973
- 6
974
- should
975
- x
976
- 2
977
- ==
978
- p
979
- 5
980
- I
981
- 0
982
- I
983
- 2b
984
- I
985
- 0
986
- I
987
- 2c
988
- I
989
- 10
990
- x
991
- 37
992
- ./spec/hamster/list/partition_spec.rb
993
- p
994
- 0
995
- s
996
- 32
997
- correctly identifies the matches
998
- M
999
- 1
1000
- n
1001
- n
1002
- x
1003
- 9
1004
- __block__
1005
- i
1006
- 18
1007
- 36
1008
- 0
1009
- 45
1010
- 1
1011
- 42
1012
- 2
1013
- 3
1014
- 19
1015
- 3
1016
- 1
1017
- 33
1018
- 1
1019
- 48
1020
- 4
1021
- 0
1022
- 80
1023
- 5
1024
- 11
1025
- I
1026
- 5
1027
- I
1028
- 0
1029
- I
1030
- 0
1031
- I
1032
- 0
1033
- I
1034
- -2
1035
- p
1036
- 6
1037
- x
1038
- 8
1039
- @matches
1040
- x
1041
- 6
1042
- should
1043
- x
1044
- 7
1045
- Hamster
1046
- n
1047
- x
1048
- 4
1049
- list
1050
- x
1051
- 2
1052
- ==
1053
- p
1054
- 5
1055
- I
1056
- 0
1057
- I
1058
- 2f
1059
- I
1060
- 0
1061
- I
1062
- 30
1063
- I
1064
- 12
1065
- x
1066
- 37
1067
- ./spec/hamster/list/partition_spec.rb
1068
- p
1069
- 0
1070
- s
1071
- 34
1072
- correctly identifies the remainder
1073
- M
1074
- 1
1075
- n
1076
- n
1077
- x
1078
- 9
1079
- __block__
1080
- i
1081
- 18
1082
- 36
1083
- 0
1084
- 45
1085
- 1
1086
- 42
1087
- 2
1088
- 3
1089
- 19
1090
- 3
1091
- 2
1092
- 33
1093
- 1
1094
- 48
1095
- 4
1096
- 0
1097
- 80
1098
- 5
1099
- 11
1100
- I
1101
- 5
1102
- I
1103
- 0
1104
- I
1105
- 0
1106
- I
1107
- 0
1108
- I
1109
- -2
1110
- p
1111
- 6
1112
- x
1113
- 10
1114
- @remainder
1115
- x
1116
- 6
1117
- should
1118
- x
1119
- 7
1120
- Hamster
1121
- n
1122
- x
1123
- 4
1124
- list
1125
- x
1126
- 2
1127
- ==
1128
- p
1129
- 5
1130
- I
1131
- 0
1132
- I
1133
- 33
1134
- I
1135
- 0
1136
- I
1137
- 34
1138
- I
1139
- 12
1140
- x
1141
- 37
1142
- ./spec/hamster/list/partition_spec.rb
1143
- p
1144
- 0
1145
- p
1146
- 13
1147
- I
1148
- 0
1149
- I
1150
- 1f
1151
- I
1152
- 0
1153
- I
1154
- 21
1155
- I
1156
- 8
1157
- I
1158
- 27
1159
- I
1160
- 13
1161
- I
1162
- 2b
1163
- I
1164
- 1e
1165
- I
1166
- 2f
1167
- I
1168
- 29
1169
- I
1170
- 33
1171
- I
1172
- 34
1173
- x
1174
- 37
1175
- ./spec/hamster/list/partition_spec.rb
1176
- p
1177
- 0
1178
- x
1179
- 8
1180
- describe
1181
- s
1182
- 15
1183
- without a block
1184
- M
1185
- 1
1186
- n
1187
- n
1188
- x
1189
- 9
1190
- __block__
1191
- i
1192
- 19
1193
- 5
1194
- 53
1195
- 0
1196
- 44
1197
- 47
1198
- 1
1199
- 0
1200
- 14
1201
- 5
1202
- 7
1203
- 2
1204
- 61
1205
- 53
1206
- 3
1207
- 44
1208
- 47
1209
- 4
1210
- 1
1211
- 11
1212
- I
1213
- 4
1214
- I
1215
- 0
1216
- I
1217
- 0
1218
- I
1219
- 0
1220
- I
1221
- -2
1222
- p
1223
- 5
1224
- M
1225
- 1
1226
- n
1227
- n
1228
- x
1229
- 9
1230
- __block__
1231
- i
1232
- 7
1233
- 36
1234
- 0
1235
- 45
1236
- 1
1237
- 35
1238
- 2
1239
- 11
1240
- I
1241
- 2
1242
- I
1243
- 0
1244
- I
1245
- 0
1246
- I
1247
- 0
1248
- I
1249
- -2
1250
- p
1251
- 3
1252
- x
1253
- 9
1254
- @original
1255
- x
1256
- 9
1257
- partition
1258
- x
1259
- 7
1260
- @result
1261
- p
1262
- 5
1263
- I
1264
- 0
1265
- I
1266
- 3b
1267
- I
1268
- 0
1269
- I
1270
- 3c
1271
- I
1272
- 7
1273
- x
1274
- 37
1275
- ./spec/hamster/list/partition_spec.rb
1276
- p
1277
- 0
1278
- x
1279
- 6
1280
- before
1281
- s
1282
- 12
1283
- returns self
1284
- M
1285
- 1
1286
- n
1287
- n
1288
- x
1289
- 9
1290
- __block__
1291
- i
1292
- 13
1293
- 36
1294
- 0
1295
- 5
1296
- 36
1297
- 1
1298
- 44
1299
- 46
1300
- 2
1301
- 1
1302
- 46
1303
- 3
1304
- 1
1305
- 11
1306
- I
1307
- 4
1308
- I
1309
- 0
1310
- I
1311
- 0
1312
- I
1313
- 0
1314
- I
1315
- -2
1316
- p
1317
- 4
1318
- x
1319
- 7
1320
- @result
1321
- x
1322
- 9
1323
- @original
1324
- x
1325
- 5
1326
- equal
1327
- x
1328
- 6
1329
- should
1330
- p
1331
- 5
1332
- I
1333
- 0
1334
- I
1335
- 3f
1336
- I
1337
- 0
1338
- I
1339
- 40
1340
- I
1341
- d
1342
- x
1343
- 37
1344
- ./spec/hamster/list/partition_spec.rb
1345
- p
1346
- 0
1347
- x
1348
- 2
1349
- it
1350
- p
1351
- 7
1352
- I
1353
- 0
1354
- I
1355
- 39
1356
- I
1357
- 0
1358
- I
1359
- 3b
1360
- I
1361
- 8
1362
- I
1363
- 3f
1364
- I
1365
- 13
1366
- x
1367
- 37
1368
- ./spec/hamster/list/partition_spec.rb
1369
- p
1370
- 0
1371
- p
1372
- 9
1373
- I
1374
- 0
1375
- I
1376
- 19
1377
- I
1378
- 0
1379
- I
1380
- 1b
1381
- I
1382
- 8
1383
- I
1384
- 1f
1385
- I
1386
- 13
1387
- I
1388
- 39
1389
- I
1390
- 1e
1391
- x
1392
- 37
1393
- ./spec/hamster/list/partition_spec.rb
1394
- p
1395
- 0
1396
- x
1397
- 8
1398
- describe
1399
- p
1400
- 7
1401
- I
1402
- 0
1403
- I
1404
- f
1405
- I
1406
- 3
1407
- I
1408
- 17
1409
- I
1410
- f
1411
- I
1412
- 19
1413
- I
1414
- 22
1415
- x
1416
- 37
1417
- ./spec/hamster/list/partition_spec.rb
1418
- p
1419
- 3
1420
- x
1421
- 6
1422
- values
1423
- x
1424
- 16
1425
- expected_matches
1426
- x
1427
- 18
1428
- expected_remainder
1429
- x
1430
- 4
1431
- each
1432
- p
1433
- 21
1434
- I
1435
- 0
1436
- I
1437
- 8
1438
- I
1439
- 0
1440
- I
1441
- a
1442
- I
1443
- b
1444
- I
1445
- f
1446
- I
1447
- 13
1448
- I
1449
- 10
1450
- I
1451
- 1d
1452
- I
1453
- 11
1454
- I
1455
- 29
1456
- I
1457
- 12
1458
- I
1459
- 39
1460
- I
1461
- 13
1462
- I
1463
- 4d
1464
- I
1465
- 14
1466
- I
1467
- 5f
1468
- I
1469
- 15
1470
- I
1471
- 6f
1472
- I
1473
- 16
1474
- I
1475
- 83
1476
- x
1477
- 37
1478
- ./spec/hamster/list/partition_spec.rb
1479
- p
1480
- 0
1481
- x
1482
- 8
1483
- describe
1484
- p
1485
- 5
1486
- I
1487
- 0
1488
- I
1489
- 6
1490
- I
1491
- 0
1492
- I
1493
- 8
1494
- I
1495
- b
1496
- x
1497
- 37
1498
- ./spec/hamster/list/partition_spec.rb
1499
- p
1500
- 0
1501
- x
1502
- 8
1503
- describe
1504
- p
1505
- 9
1506
- I
1507
- 0
1508
- I
1509
- 1
1510
- I
1511
- 1a
1512
- I
1513
- 3
1514
- I
1515
- 23
1516
- I
1517
- 4
1518
- I
1519
- 2c
1520
- I
1521
- 6
1522
- I
1523
- 3b
1524
- x
1525
- 37
1526
- ./spec/hamster/list/partition_spec.rb
1527
- p
1528
- 0