hamster 0.3.6 → 0.3.7

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