alf 0.10.1 → 0.11.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (682) hide show
  1. data/CHANGELOG.md +25 -0
  2. data/Gemfile +8 -8
  3. data/Gemfile.lock +22 -20
  4. data/Rakefile +1 -1
  5. data/alf.gemspec +31 -30
  6. data/alf.noespec +11 -9
  7. data/bin/alf +1 -1
  8. data/lib/alf/aggregator/avg.rb +39 -0
  9. data/lib/alf/aggregator/class_methods.rb +32 -14
  10. data/lib/alf/aggregator/collect.rb +32 -0
  11. data/lib/alf/aggregator/concat.rb +47 -0
  12. data/lib/alf/aggregator/count.rb +32 -0
  13. data/lib/alf/aggregator/{base.rb → instance_methods.rb} +54 -30
  14. data/lib/alf/aggregator/max.rb +32 -0
  15. data/lib/alf/aggregator/min.rb +32 -0
  16. data/lib/alf/aggregator/stddev.rb +25 -0
  17. data/lib/alf/aggregator/sum.rb +32 -0
  18. data/lib/alf/aggregator/variance.rb +45 -0
  19. data/lib/alf/aggregator.rb +51 -0
  20. data/lib/alf/environment/class_methods.rb +37 -35
  21. data/lib/alf/environment/folder.rb +26 -28
  22. data/lib/alf/environment/{base.rb → instance_methods.rb} +8 -19
  23. data/lib/alf/environment.rb +34 -0
  24. data/lib/alf/errors.rb +1 -0
  25. data/lib/alf/iterator/class_methods.rb +0 -2
  26. data/lib/alf/iterator/proxy.rb +7 -13
  27. data/lib/alf/iterator.rb +27 -0
  28. data/lib/alf/lispy/instance_methods.rb +14 -14
  29. data/lib/alf/lispy.rb +24 -0
  30. data/lib/alf/loader.rb +1 -1
  31. data/lib/alf/operator/binary.rb +4 -15
  32. data/lib/alf/operator/class_methods.rb +33 -83
  33. data/lib/alf/operator/instance_methods.rb +29 -0
  34. data/lib/alf/operator/non_relational/autonum.rb +17 -22
  35. data/lib/alf/operator/non_relational/clip.rb +18 -18
  36. data/lib/alf/operator/non_relational/coerce.rb +17 -19
  37. data/lib/alf/operator/non_relational/compact.rb +13 -57
  38. data/lib/alf/operator/non_relational/defaults.rb +20 -23
  39. data/lib/alf/operator/non_relational/generator.rb +14 -32
  40. data/lib/alf/operator/non_relational/sort.rb +16 -20
  41. data/lib/alf/operator/nullary.rb +0 -9
  42. data/lib/alf/operator/relational/extend.rb +17 -22
  43. data/lib/alf/operator/relational/group.rb +16 -27
  44. data/lib/alf/operator/relational/heading.rb +15 -25
  45. data/lib/alf/operator/relational/intersect.rb +14 -33
  46. data/lib/alf/operator/relational/join.rb +15 -103
  47. data/lib/alf/operator/relational/matching.rb +15 -42
  48. data/lib/alf/operator/relational/minus.rb +14 -33
  49. data/lib/alf/operator/relational/not_matching.rb +15 -42
  50. data/lib/alf/operator/relational/project.rb +20 -20
  51. data/lib/alf/operator/relational/quota.rb +19 -47
  52. data/lib/alf/operator/relational/rank.rb +19 -52
  53. data/lib/alf/operator/relational/rename.rb +16 -17
  54. data/lib/alf/operator/relational/restrict.rb +16 -18
  55. data/lib/alf/operator/relational/summarize.rb +19 -75
  56. data/lib/alf/operator/relational/ungroup.rb +16 -22
  57. data/lib/alf/operator/relational/union.rb +17 -29
  58. data/lib/alf/operator/relational/unwrap.rb +17 -19
  59. data/lib/alf/operator/relational/wrap.rb +18 -20
  60. data/lib/alf/operator/signature.rb +67 -96
  61. data/lib/alf/operator/unary.rb +4 -26
  62. data/lib/alf/operator.rb +68 -0
  63. data/lib/alf/reader/alf_file.rb +5 -5
  64. data/lib/alf/reader/class_methods.rb +47 -38
  65. data/lib/alf/reader/{base.rb → instance_methods.rb} +18 -40
  66. data/lib/alf/reader/rash.rb +3 -3
  67. data/lib/alf/reader.rb +37 -0
  68. data/lib/alf/relation/instance_methods.rb +17 -37
  69. data/lib/alf/relation.rb +28 -0
  70. data/lib/alf/renderer/{base.rb → instance_methods.rb} +13 -30
  71. data/lib/alf/renderer.rb +32 -0
  72. data/lib/alf/tools/coerce.rb +18 -7
  73. data/lib/alf/tools/miscellaneous.rb +56 -29
  74. data/lib/alf/tools/to_lispy.rb +37 -40
  75. data/lib/alf/tools/to_ruby_literal.rb +24 -7
  76. data/lib/alf/tools/tuple_handle.rb +27 -17
  77. data/lib/alf/tools.rb +14 -0
  78. data/lib/alf/types/attr_list.rb +135 -31
  79. data/lib/alf/types/attr_name.rb +56 -18
  80. data/lib/alf/types/boolean.rb +18 -5
  81. data/lib/alf/types/heading.rb +83 -59
  82. data/lib/alf/types/ordering.rb +117 -64
  83. data/lib/alf/types/renaming.rb +73 -33
  84. data/lib/alf/types/size.rb +57 -0
  85. data/lib/alf/types/summarization.rb +105 -43
  86. data/lib/alf/types/tuple_computation.rb +113 -38
  87. data/lib/alf/types/tuple_expression.rb +122 -31
  88. data/lib/alf/types/tuple_predicate.rb +64 -40
  89. data/lib/alf/types.rb +49 -0
  90. data/lib/alf/version.rb +6 -6
  91. data/lib/alf-csv/alf/csv/commons.rb +36 -0
  92. data/lib/alf-csv/alf/csv/reader.rb +33 -0
  93. data/lib/alf-csv/alf/csv/renderer.rb +38 -0
  94. data/lib/alf-csv/alf/csv.rb +3 -0
  95. data/lib/alf-engine/alf/engine/aggregate.rb +44 -0
  96. data/lib/alf-engine/alf/engine/autonum.rb +45 -0
  97. data/lib/{alf/operator → alf-engine/alf/engine}/cesure.rb +13 -13
  98. data/lib/alf-engine/alf/engine/clip.rb +53 -0
  99. data/lib/alf-engine/alf/engine/coerce.rb +46 -0
  100. data/lib/alf-engine/alf/engine/cog.rb +7 -0
  101. data/lib/alf-engine/alf/engine/compact/set.rb +23 -0
  102. data/lib/alf-engine/alf/engine/compact/uniq.rb +23 -0
  103. data/lib/alf-engine/alf/engine/compact.rb +26 -0
  104. data/lib/alf-engine/alf/engine/concat.rb +25 -0
  105. data/lib/alf-engine/alf/engine/defaults.rb +43 -0
  106. data/lib/alf-engine/alf/engine/filter.rb +41 -0
  107. data/lib/alf-engine/alf/engine/generator.rb +50 -0
  108. data/lib/alf-engine/alf/engine/group/hash.rb +40 -0
  109. data/lib/alf-engine/alf/engine/group.rb +7 -0
  110. data/lib/alf-engine/alf/engine/join/hash.rb +35 -0
  111. data/lib/alf-engine/alf/engine/join.rb +7 -0
  112. data/lib/alf-engine/alf/engine/materialize/array.rb +78 -0
  113. data/lib/alf-engine/alf/engine/materialize/hash.rb +122 -0
  114. data/lib/alf-engine/alf/engine/materialize.rb +8 -0
  115. data/lib/alf-engine/alf/engine/quota/cesure.rb +46 -0
  116. data/lib/alf-engine/alf/engine/quota.rb +7 -0
  117. data/lib/alf-engine/alf/engine/rank/cesure.rb +48 -0
  118. data/lib/alf-engine/alf/engine/rank.rb +7 -0
  119. data/lib/alf-engine/alf/engine/rename.rb +39 -0
  120. data/lib/alf-engine/alf/engine/semi/hash.rb +39 -0
  121. data/lib/alf-engine/alf/engine/semi.rb +7 -0
  122. data/lib/alf-engine/alf/engine/set_attr.rb +46 -0
  123. data/lib/alf-engine/alf/engine/sort/in_memory.rb +39 -0
  124. data/lib/alf-engine/alf/engine/sort.rb +28 -0
  125. data/lib/alf-engine/alf/engine/summarize/cesure.rb +51 -0
  126. data/lib/alf-engine/alf/engine/summarize/hash.rb +35 -0
  127. data/lib/alf-engine/alf/engine/summarize.rb +8 -0
  128. data/lib/alf-engine/alf/engine/ungroup.rb +29 -0
  129. data/lib/alf-engine/alf/engine/unwrap.rb +31 -0
  130. data/lib/alf-engine/alf/engine/wrap.rb +39 -0
  131. data/lib/alf-engine/alf/engine.rb +25 -0
  132. data/lib/{alf/extra/logs.rb → alf-logs/alf/logs/reader.rb} +14 -16
  133. data/lib/alf-logs/alf/logs.rb +1 -0
  134. data/lib/alf-sequel/alf/sequel/environment.rb +57 -0
  135. data/lib/alf-sequel/alf/sequel/iterator.rb +21 -0
  136. data/lib/alf-sequel/alf/sequel.rb +2 -0
  137. data/lib/{alf → alf-shell/alf/shell}/command/exec.rb +3 -4
  138. data/lib/{alf → alf-shell/alf/shell}/command/help.rb +3 -4
  139. data/lib/alf-shell/alf/shell/command/main/class_methods.rb +46 -0
  140. data/lib/{alf → alf-shell/alf/shell}/command/main.rb +9 -51
  141. data/lib/{alf → alf-shell/alf/shell}/command/show.rb +5 -7
  142. data/lib/alf-shell/alf/shell/command.rb +26 -0
  143. data/lib/{alf/command → alf-shell/alf/shell}/doc_manager.rb +3 -3
  144. data/lib/alf-shell/alf/shell/operator.rb +86 -0
  145. data/lib/alf-shell/alf/shell.rb +40 -0
  146. data/lib/{alf/extra/yaml.rb → alf-yaml/alf/yaml/renderer.rb} +5 -7
  147. data/lib/alf-yaml/alf/yaml.rb +1 -0
  148. data/lib/alf.rb +17 -358
  149. data/spec/{unit → integration}/lispy/test_relation.rb +0 -0
  150. data/spec/{unit → integration}/lispy/test_run.rb +0 -0
  151. data/spec/{unit → integration}/lispy/test_tuple.rb +0 -0
  152. data/spec/integration/{command → shell}/alf/alf.db +0 -0
  153. data/spec/integration/{command → shell}/alf/alf_e.cmd +0 -0
  154. data/spec/integration/{command → shell}/alf/alf_e.stdout +0 -0
  155. data/spec/integration/shell/alf/alf_env.cmd +1 -0
  156. data/spec/integration/{command → shell}/alf/alf_env.stdout +0 -0
  157. data/spec/integration/shell/alf/alf_env_sqlite.cmd +1 -0
  158. data/spec/integration/{command → shell}/alf/alf_env_sqlite.stdout +0 -0
  159. data/spec/integration/{command → shell}/alf/alf_help.cmd +0 -0
  160. data/spec/integration/{command → shell}/alf/alf_help.stdout +0 -0
  161. data/spec/integration/{command → shell}/alf/alf_implicit.alf +0 -0
  162. data/spec/integration/shell/alf/alf_implicit_exec.cmd +1 -0
  163. data/spec/integration/{command → shell}/alf/alf_implicit_exec.stdout +0 -0
  164. data/spec/integration/{command → shell}/alf/alf_r.cmd +0 -0
  165. data/spec/integration/{command → shell}/alf/alf_r.stdout +0 -0
  166. data/spec/integration/{command → shell}/alf/alf_version.cmd +0 -0
  167. data/spec/integration/{command → shell}/alf/alf_version.stdout +0 -0
  168. data/spec/integration/{command → shell}/alf/alf_yaml.cmd +0 -0
  169. data/spec/integration/{command → shell}/alf/alf_yaml.stdout +0 -0
  170. data/spec/integration/{command → shell}/alf/rel.rash +0 -0
  171. data/spec/integration/{command → shell}/autonum/autonum_0.cmd +0 -0
  172. data/spec/integration/{command → shell}/autonum/autonum_0.stdout +0 -0
  173. data/spec/integration/shell/autonum/autonum_1.cmd +1 -0
  174. data/spec/integration/{command → shell}/autonum/autonum_1.stdout +0 -0
  175. data/spec/integration/shell/clip/clip_0.cmd +1 -0
  176. data/spec/integration/{command → shell}/clip/clip_0.stdout +0 -0
  177. data/spec/integration/shell/clip/clip_1.cmd +1 -0
  178. data/spec/integration/{command → shell}/clip/clip_1.stdout +0 -0
  179. data/spec/integration/{command → shell}/coerce/coerce_1.cmd +0 -0
  180. data/spec/integration/{command → shell}/coerce/coerce_1.stdout +0 -0
  181. data/spec/integration/{command → shell}/compact/compact_0.cmd +0 -0
  182. data/spec/integration/{command → shell}/compact/compact_0.stdout +0 -0
  183. data/spec/integration/{command → shell}/defaults/defaults_0.cmd +0 -0
  184. data/spec/integration/{command → shell}/defaults/defaults_0.stdout +0 -0
  185. data/spec/integration/{command → shell}/defaults/defaults_1.cmd +0 -0
  186. data/spec/integration/{command → shell}/defaults/defaults_1.stdout +0 -0
  187. data/spec/integration/{command → shell}/defaults/defaults_2.cmd +0 -0
  188. data/spec/integration/{command → shell}/defaults/defaults_2.stdout +0 -0
  189. data/spec/integration/{command → shell}/extend/extend_0.cmd +0 -0
  190. data/spec/integration/{command → shell}/extend/extend_0.stdout +0 -0
  191. data/spec/integration/{command → shell}/generator/generator_1.cmd +0 -0
  192. data/spec/integration/{command → shell}/generator/generator_1.stdout +0 -0
  193. data/spec/integration/{command → shell}/generator/generator_2.cmd +0 -0
  194. data/spec/integration/{command → shell}/generator/generator_2.stdout +0 -0
  195. data/spec/integration/{command → shell}/generator/generator_3.cmd +0 -0
  196. data/spec/integration/{command → shell}/generator/generator_3.stdout +0 -0
  197. data/spec/integration/{command → shell}/group/group_0.cmd +0 -0
  198. data/spec/integration/{command → shell}/group/group_0.stdout +0 -0
  199. data/spec/integration/{command → shell}/group/group_1.cmd +0 -0
  200. data/spec/integration/{command → shell}/group/group_1.stdout +0 -0
  201. data/spec/integration/{command → shell}/help/help_1.cmd +0 -0
  202. data/spec/integration/{command → shell}/help/help_1.stdout +0 -0
  203. data/spec/integration/{command → shell}/intersect/intersect_0.cmd +0 -0
  204. data/spec/integration/{command → shell}/intersect/intersect_0.stdout +0 -0
  205. data/spec/integration/{command → shell}/join/join_0.cmd +0 -0
  206. data/spec/integration/{command → shell}/join/join_0.stdout +0 -0
  207. data/spec/integration/{command → shell}/matching/matching_0.cmd +0 -0
  208. data/spec/integration/{command → shell}/matching/matching_0.stdout +0 -0
  209. data/spec/integration/{command → shell}/minus/minus_0.cmd +0 -0
  210. data/spec/integration/{command → shell}/minus/minus_0.stdout +0 -0
  211. data/spec/integration/{command → shell}/not-matching/not-matching_0.cmd +0 -0
  212. data/spec/integration/{command → shell}/not-matching/not-matching_0.stdout +0 -0
  213. data/spec/integration/{command → shell}/project/project_0.cmd +0 -0
  214. data/spec/integration/{command → shell}/project/project_0.stdout +0 -0
  215. data/spec/integration/{command → shell}/project/project_1.cmd +0 -0
  216. data/spec/integration/{command → shell}/project/project_1.stdout +0 -0
  217. data/spec/integration/{command → shell}/quota/quota_0.cmd +0 -0
  218. data/spec/integration/{command → shell}/quota/quota_0.stdout +0 -0
  219. data/spec/integration/{command → shell}/rank/rank_1.cmd +0 -0
  220. data/spec/integration/{command → shell}/rank/rank_1.stdout +1 -1
  221. data/spec/integration/{command → shell}/rank/rank_2.cmd +0 -0
  222. data/spec/integration/{command → shell}/rank/rank_2.stdout +1 -1
  223. data/spec/integration/{command → shell}/rank/rank_3.cmd +0 -0
  224. data/spec/integration/{command → shell}/rank/rank_3.stdout +0 -0
  225. data/spec/integration/{command → shell}/rank/rank_4.cmd +0 -0
  226. data/spec/integration/{command → shell}/rank/rank_4.stdout +0 -0
  227. data/spec/integration/{command → shell}/rank/rank_5.cmd +0 -0
  228. data/spec/integration/{command → shell}/rank/rank_5.stdout +0 -0
  229. data/spec/integration/{command → shell}/rename/rename_0.cmd +0 -0
  230. data/spec/integration/{command → shell}/rename/rename_0.stdout +0 -0
  231. data/spec/integration/{command → shell}/restrict/restrict_0.cmd +0 -0
  232. data/spec/integration/{command → shell}/restrict/restrict_0.stdout +0 -0
  233. data/spec/integration/{command → shell}/restrict/restrict_1.cmd +0 -0
  234. data/spec/integration/{command → shell}/restrict/restrict_1.stdout +0 -0
  235. data/spec/integration/{command → shell}/show/show_base.cmd +0 -0
  236. data/spec/integration/{command → shell}/show/show_base.stdout +0 -0
  237. data/spec/integration/{command → shell}/show/show_base_sort_1.cmd +0 -0
  238. data/spec/integration/{command → shell}/show/show_base_sort_1.stdout +0 -0
  239. data/spec/integration/{command → shell}/show/show_base_sort_2.cmd +0 -0
  240. data/spec/integration/{command → shell}/show/show_base_sort_2.stdout +0 -0
  241. data/spec/integration/{command → shell}/show/show_conflictual.cmd +0 -0
  242. data/spec/integration/{command → shell}/show/show_conflictual.stdout +0 -0
  243. data/spec/integration/{command → shell}/show/show_csv.cmd +0 -0
  244. data/spec/integration/{command → shell}/show/show_csv.stdout +0 -0
  245. data/spec/integration/{command → shell}/show/show_ff.cmd +0 -0
  246. data/spec/integration/{command → shell}/show/show_ff.stdout +0 -0
  247. data/spec/integration/{command → shell}/show/show_rash.cmd +0 -0
  248. data/spec/integration/{command → shell}/show/show_rash.stdout +0 -0
  249. data/spec/integration/{command → shell}/show/show_rash_pretty.cmd +0 -0
  250. data/spec/integration/{command → shell}/show/show_rash_pretty.stdout +0 -0
  251. data/spec/integration/{command → shell}/show/show_yaml.cmd +0 -0
  252. data/spec/integration/{command → shell}/show/show_yaml.stdout +0 -0
  253. data/spec/integration/{command → shell}/sort/sort_0.cmd +0 -0
  254. data/spec/integration/{command → shell}/sort/sort_0.stdout +0 -0
  255. data/spec/integration/{command → shell}/sort/sort_1.cmd +0 -0
  256. data/spec/integration/{command → shell}/sort/sort_1.stdout +0 -0
  257. data/spec/integration/{command → shell}/sort/sort_2.cmd +0 -0
  258. data/spec/integration/{command → shell}/sort/sort_2.stdout +0 -0
  259. data/spec/integration/{command → shell}/sort/sort_3.cmd +0 -0
  260. data/spec/integration/{command → shell}/sort/sort_3.stdout +0 -0
  261. data/spec/integration/{command → shell}/summarize/summarize_0.cmd +0 -0
  262. data/spec/integration/{command → shell}/summarize/summarize_0.stdout +0 -0
  263. data/spec/integration/{command → shell}/ungroup/ungroup_0.cmd +0 -0
  264. data/spec/integration/{command → shell}/ungroup/ungroup_0.stdout +0 -0
  265. data/spec/integration/{command → shell}/union/union_0.cmd +0 -0
  266. data/spec/integration/{command → shell}/union/union_0.stdout +0 -0
  267. data/spec/integration/{command → shell}/unwrap/unwrap_0.cmd +0 -0
  268. data/spec/integration/{command → shell}/unwrap/unwrap_0.stdout +0 -0
  269. data/spec/integration/{command → shell}/wrap/wrap_0.cmd +0 -0
  270. data/spec/integration/{command → shell}/wrap/wrap_0.stdout +0 -0
  271. data/spec/{unit → integration}/test_lispy.rb +0 -0
  272. data/spec/integration/{test_command.rb → test_shell.rb} +3 -3
  273. data/spec/regression/heading/test_heading_with_date.rb +1 -1
  274. data/spec/shared/a_valid_type_implementation.rb +47 -0
  275. data/spec/shared/an_operator_class.rb +2 -6
  276. data/spec/spec_helper.rb +9 -1
  277. data/spec/unit/alf-core/aggregator/test_avg.rb +22 -0
  278. data/spec/unit/alf-core/aggregator/test_collect.rb +25 -0
  279. data/spec/unit/alf-core/aggregator/test_concat.rb +31 -0
  280. data/spec/unit/alf-core/aggregator/test_count.rb +17 -0
  281. data/spec/unit/alf-core/aggregator/test_max.rb +23 -0
  282. data/spec/unit/alf-core/aggregator/test_min.rb +23 -0
  283. data/spec/unit/alf-core/aggregator/test_stddev.rb +27 -0
  284. data/spec/unit/alf-core/aggregator/test_sum.rb +23 -0
  285. data/spec/unit/alf-core/aggregator/test_variance.rb +29 -0
  286. data/spec/unit/{assumptions → alf-core/assumptions}/test_file.rb +0 -0
  287. data/spec/unit/{assumptions → alf-core/assumptions}/test_instance_eval.rb +0 -0
  288. data/spec/unit/{assumptions → alf-core/assumptions}/test_scoping.rb +0 -0
  289. data/spec/unit/{assumptions → alf-core/assumptions}/test_set.rb +0 -0
  290. data/spec/unit/{environment → alf-core/environment}/examples/suppliers.rash +0 -0
  291. data/spec/unit/alf-core/environment/test_folder.rb +53 -0
  292. data/spec/unit/{operator → alf-core/operator}/non_relational/test_autonum.rb +18 -31
  293. data/spec/unit/alf-core/operator/non_relational/test_clip.rb +35 -0
  294. data/spec/unit/{operator → alf-core/operator}/non_relational/test_coerce.rb +11 -17
  295. data/spec/unit/{operator/non_relational/compact/test_sort_based.rb → alf-core/operator/non_relational/test_compact.rb} +16 -14
  296. data/spec/unit/{operator → alf-core/operator}/non_relational/test_defaults.rb +17 -32
  297. data/spec/unit/{operator → alf-core/operator}/non_relational/test_generator.rb +21 -39
  298. data/spec/unit/{operator → alf-core/operator}/non_relational/test_sort.rb +20 -26
  299. data/spec/unit/{operator → alf-core/operator}/relational/test_extend.rb +8 -14
  300. data/spec/unit/{operator → alf-core/operator}/relational/test_group.rb +12 -28
  301. data/spec/unit/alf-core/operator/relational/test_heading.rb +27 -0
  302. data/spec/unit/{operator → alf-core/operator}/relational/test_intersect.rb +22 -22
  303. data/spec/unit/{operator → alf-core/operator}/relational/test_join.rb +7 -7
  304. data/spec/unit/{operator → alf-core/operator}/relational/test_minus.rb +23 -23
  305. data/spec/unit/alf-core/operator/relational/test_project.rb +62 -0
  306. data/spec/unit/{operator → alf-core/operator}/relational/test_quota.rb +8 -15
  307. data/spec/unit/alf-core/operator/relational/test_rank.rb +48 -0
  308. data/spec/unit/{operator → alf-core/operator}/relational/test_rename.rb +8 -14
  309. data/spec/unit/alf-core/operator/relational/test_restrict.rb +45 -0
  310. data/spec/unit/{operator → alf-core/operator}/relational/test_summarize.rb +13 -31
  311. data/spec/unit/{operator → alf-core/operator}/relational/test_ungroup.rb +9 -15
  312. data/spec/unit/{operator → alf-core/operator}/relational/test_union.rb +11 -11
  313. data/spec/unit/{operator → alf-core/operator}/relational/test_unwrap.rb +10 -16
  314. data/spec/unit/{operator → alf-core/operator}/relational/test_wrap.rb +10 -16
  315. data/spec/unit/alf-core/operator/signature/test_argv2args.rb +82 -0
  316. data/spec/unit/alf-core/operator/signature/test_collect_on.rb +38 -0
  317. data/spec/unit/{operator → alf-core/operator}/signature/test_initialize.rb +0 -0
  318. data/spec/unit/{operator → alf-core/operator}/signature/test_install.rb +0 -0
  319. data/spec/unit/{operator → alf-core/operator}/signature/test_option_parser.rb +0 -0
  320. data/spec/unit/alf-core/operator/signature/test_parse_args.rb +90 -0
  321. data/spec/unit/{operator → alf-core/operator}/signature/test_to_lispy.rb +0 -0
  322. data/spec/unit/{operator → alf-core/operator}/signature/test_to_shell.rb +0 -0
  323. data/spec/unit/{operator → alf-core/operator}/test_non_relational.rb +0 -0
  324. data/spec/unit/{operator → alf-core/operator}/test_relational.rb +0 -0
  325. data/spec/unit/{reader → alf-core/reader}/input.rb +0 -0
  326. data/spec/unit/{reader → alf-core/reader}/test_alf_file.rb +0 -0
  327. data/spec/unit/{reader → alf-core/reader}/test_initialize.rb +0 -0
  328. data/spec/unit/alf-core/reader/test_looks_a_path.rb +20 -0
  329. data/spec/unit/{reader → alf-core/reader}/test_rash.rb +0 -0
  330. data/spec/unit/{relation → alf-core/relation}/test_coerce.rb +0 -0
  331. data/spec/unit/{relation → alf-core/relation}/test_inspect.rb +0 -0
  332. data/spec/unit/{relation → alf-core/relation}/test_relops.rb +0 -0
  333. data/spec/unit/{relation → alf-core/relation}/test_to_a.rb +0 -0
  334. data/spec/unit/{renderer → alf-core/renderer}/test_initialize.rb +0 -0
  335. data/spec/unit/alf-core/test_aggregator.rb +58 -0
  336. data/spec/unit/{test_environment.rb → alf-core/test_environment.rb} +8 -21
  337. data/spec/unit/{test_operator.rb → alf-core/test_operator.rb} +0 -0
  338. data/spec/unit/{test_reader.rb → alf-core/test_reader.rb} +0 -0
  339. data/spec/unit/{test_relation.rb → alf-core/test_relation.rb} +0 -0
  340. data/spec/unit/{test_renderer.rb → alf-core/test_renderer.rb} +0 -0
  341. data/spec/unit/{text → alf-core/text}/test_cell.rb +0 -0
  342. data/spec/unit/{text → alf-core/text}/test_row.rb +0 -0
  343. data/spec/unit/{text → alf-core/text}/test_table.rb +0 -0
  344. data/spec/unit/alf-core/tools/test_class_name.rb +16 -0
  345. data/spec/unit/{tools → alf-core/tools}/test_coalesce.rb +6 -2
  346. data/spec/unit/alf-core/tools/test_coerce.rb +16 -0
  347. data/spec/unit/alf-core/tools/test_ruby_case.rb +16 -0
  348. data/spec/unit/{tools → alf-core/tools}/test_to_lispy.rb +14 -7
  349. data/spec/unit/{tools → alf-core/tools}/test_to_ruby_literal.rb +5 -5
  350. data/spec/unit/{tools → alf-core/tools}/test_tuple_handle.rb +14 -14
  351. data/spec/unit/alf-core/tools/test_tuple_heading.rb +15 -0
  352. data/spec/unit/{tools → alf-core/tools}/test_varargs.rb +9 -6
  353. data/spec/unit/alf-core/types/test_attr_list.rb +188 -0
  354. data/spec/unit/alf-core/types/test_attr_name.rb +78 -0
  355. data/spec/unit/{types/test_attr_name.rb → alf-core/types/test_boolean.rb} +18 -28
  356. data/spec/unit/alf-core/types/test_class_methods.rb +24 -0
  357. data/spec/unit/alf-core/types/test_heading.rb +146 -0
  358. data/spec/unit/alf-core/types/test_ordering.rb +185 -0
  359. data/spec/unit/alf-core/types/test_renaming.rb +72 -0
  360. data/spec/unit/alf-core/types/test_size.rb +74 -0
  361. data/spec/unit/{types → alf-core/types}/test_summarization.rb +46 -14
  362. data/spec/unit/{types → alf-core/types}/test_tuple_computation.rb +46 -10
  363. data/spec/unit/alf-core/types/test_tuple_expression.rb +122 -0
  364. data/spec/unit/{types → alf-core/types}/test_tuple_predicate.rb +51 -22
  365. data/spec/unit/{csv → alf-csv}/input.csv +0 -0
  366. data/spec/unit/{csv → alf-csv}/test_reader.rb +0 -0
  367. data/spec/unit/{csv → alf-csv}/test_renderer.rb +1 -1
  368. data/spec/unit/alf-engine/compact/test_set.rb +33 -0
  369. data/spec/unit/alf-engine/compact/test_uniq.rb +33 -0
  370. data/spec/unit/alf-engine/group/test_hash.rb +34 -0
  371. data/spec/unit/{operator/relational/join/test_hash_based.rb → alf-engine/join/test_hash.rb} +21 -29
  372. data/spec/unit/alf-engine/materialize/test_array.rb +28 -0
  373. data/spec/unit/alf-engine/materialize/test_hash.rb +76 -0
  374. data/spec/unit/alf-engine/quota/test_cesure.rb +34 -0
  375. data/spec/unit/{operator/relational/test_rank.rb → alf-engine/rank/test_cesure.rb} +21 -24
  376. data/spec/unit/alf-engine/semi/test_hash.rb +58 -0
  377. data/spec/unit/alf-engine/sort/test_in_memory.rb +32 -0
  378. data/spec/unit/{operator/relational/summarize/test_hash_based.rb → alf-engine/summarize/test_cesure.rb} +15 -21
  379. data/spec/unit/{operator/relational/summarize/test_sort_based.rb → alf-engine/summarize/test_hash.rb} +15 -21
  380. data/spec/unit/alf-engine/test_aggregate.rb +26 -0
  381. data/spec/unit/alf-engine/test_autonum.rb +24 -0
  382. data/spec/unit/alf-engine/test_clip.rb +34 -0
  383. data/spec/unit/alf-engine/test_coerce.rb +35 -0
  384. data/spec/unit/alf-engine/test_compact.rb +33 -0
  385. data/spec/unit/alf-engine/test_concat.rb +38 -0
  386. data/spec/unit/alf-engine/test_defaults.rb +37 -0
  387. data/spec/unit/alf-engine/test_filter.rb +23 -0
  388. data/spec/unit/alf-engine/test_generator.rb +25 -0
  389. data/spec/unit/alf-engine/test_rename.rb +24 -0
  390. data/spec/unit/alf-engine/test_set_attr.rb +38 -0
  391. data/spec/unit/alf-engine/test_sort.rb +32 -0
  392. data/spec/unit/alf-engine/test_ungroup.rb +28 -0
  393. data/spec/unit/alf-engine/test_unwrap.rb +20 -0
  394. data/spec/unit/alf-engine/test_wrap.rb +26 -0
  395. data/spec/unit/{logs → alf-logs}/apache_combined.log +0 -0
  396. data/spec/unit/{logs → alf-logs}/postgresql.log +0 -0
  397. data/spec/unit/{logs → alf-logs}/test_reader.rb +15 -16
  398. data/spec/unit/{sequel → alf-sequel}/alf.db +0 -0
  399. data/spec/unit/alf-sequel/test_environment.rb +69 -0
  400. data/spec/unit/{command → alf-shell}/doc_manager/dynamic.md +0 -0
  401. data/spec/unit/{command → alf-shell}/doc_manager/example.md +0 -0
  402. data/spec/unit/{command → alf-shell}/doc_manager/example_1.txt +0 -0
  403. data/spec/unit/{command → alf-shell}/doc_manager/static.md +0 -0
  404. data/spec/unit/{command → alf-shell}/doc_manager/test_call.rb +2 -3
  405. data/spec/unit/alf-shell/main/test_class_methods.rb +44 -0
  406. data/spec/unit/alf-shell/operator/test_autonum.rb +28 -0
  407. data/spec/unit/alf-shell/operator/test_clip.rb +29 -0
  408. data/spec/unit/alf-shell/operator/test_coerce.rb +21 -0
  409. data/spec/unit/alf-shell/operator/test_compact.rb +16 -0
  410. data/spec/unit/alf-shell/operator/test_defaults.rb +29 -0
  411. data/spec/unit/alf-shell/operator/test_extend.rb +21 -0
  412. data/spec/unit/alf-shell/operator/test_generator.rb +37 -0
  413. data/spec/unit/alf-shell/operator/test_group.rb +32 -0
  414. data/spec/unit/alf-shell/operator/test_heading.rb +16 -0
  415. data/spec/unit/alf-shell/operator/test_intersect.rb +18 -0
  416. data/spec/unit/alf-shell/operator/test_join.rb +18 -0
  417. data/spec/unit/alf-shell/operator/test_matching.rb +18 -0
  418. data/spec/unit/alf-shell/operator/test_minus.rb +18 -0
  419. data/spec/unit/alf-shell/operator/test_not_matching.rb +18 -0
  420. data/spec/unit/alf-shell/operator/test_project.rb +38 -0
  421. data/spec/unit/alf-shell/operator/test_quota.rb +23 -0
  422. data/spec/unit/alf-shell/operator/test_rank.rb +30 -0
  423. data/spec/unit/alf-shell/operator/test_rename.rb +21 -0
  424. data/spec/unit/alf-shell/operator/test_restrict.rb +35 -0
  425. data/spec/unit/alf-shell/operator/test_sort.rb +49 -0
  426. data/spec/unit/alf-shell/operator/test_summarize.rb +30 -0
  427. data/spec/unit/alf-shell/operator/test_ungroup.rb +28 -0
  428. data/spec/unit/alf-shell/operator/test_union.rb +18 -0
  429. data/spec/unit/alf-shell/operator/test_unwrap.rb +28 -0
  430. data/spec/unit/alf-shell/operator/test_wrap.rb +30 -0
  431. data/tasks/debug_mail.rake +42 -45
  432. data/tasks/gem.rake +13 -13
  433. data/tasks/gh-pages.rake +11 -6
  434. data/tasks/integration_test.rake +0 -8
  435. data/tasks/regression_test.rake +0 -8
  436. data/tasks/unit_test.rake +0 -8
  437. data/tasks/yard.rake +13 -13
  438. metadata +909 -1107
  439. data/examples/hitradio/compact.rb +0 -48
  440. data/examples/hitradio/compare1.rb +0 -28
  441. data/examples/hitradio/gz_reader.rb +0 -23
  442. data/examples/hitradio/hitradio-1.alf +0 -1
  443. data/examples/hitradio/hitradio.log +0 -25080
  444. data/examples/hitradio/hitradio.mar +0 -25081
  445. data/examples/hitradio/hitradio.mar.gz +0 -0
  446. data/examples/hitradio/hitradio.rash +0 -25080
  447. data/examples/hitradio/mar_reader.rb +0 -18
  448. data/examples/northwind/customers.csv +0 -92
  449. data/examples/northwind/northwind.db +0 -0
  450. data/examples/northwind/orders.csv +0 -831
  451. data/lib/alf/aggregator/aggregators.rb +0 -105
  452. data/lib/alf/aggregator/aggregators.rbc +0 -2640
  453. data/lib/alf/aggregator/base.rbc +0 -1055
  454. data/lib/alf/aggregator/class_methods.rbc +0 -830
  455. data/lib/alf/buffer/sorted.rb +0 -48
  456. data/lib/alf/buffer/sorted.rbc +0 -715
  457. data/lib/alf/command/class_methods.rb +0 -27
  458. data/lib/alf/command/class_methods.rbc +0 -453
  459. data/lib/alf/command/doc_manager.rbc +0 -1604
  460. data/lib/alf/command/exec.rbc +0 -408
  461. data/lib/alf/command/help.rbc +0 -764
  462. data/lib/alf/command/main.rbc +0 -3612
  463. data/lib/alf/command/show.rbc +0 -1327
  464. data/lib/alf/environment/base.rbc +0 -459
  465. data/lib/alf/environment/class_methods.rbc +0 -1110
  466. data/lib/alf/environment/explicit.rb +0 -38
  467. data/lib/alf/environment/explicit.rbc +0 -601
  468. data/lib/alf/environment/folder.rbc +0 -942
  469. data/lib/alf/errors.rbc +0 -155
  470. data/lib/alf/extra/csv.rb +0 -107
  471. data/lib/alf/extra/csv.rbc +0 -2021
  472. data/lib/alf/extra/logs.rbc +0 -1957
  473. data/lib/alf/extra/sequel.rb +0 -77
  474. data/lib/alf/extra/sequel.rbc +0 -1417
  475. data/lib/alf/extra/yaml.rbc +0 -435
  476. data/lib/alf/extra.rb +0 -5
  477. data/lib/alf/extra.rbc +0 -101
  478. data/lib/alf/iterator/base.rb +0 -38
  479. data/lib/alf/iterator/base.rbc +0 -437
  480. data/lib/alf/iterator/class_methods.rbc +0 -518
  481. data/lib/alf/iterator/proxy.rbc +0 -599
  482. data/lib/alf/lispy/instance_methods.rbc +0 -2535
  483. data/lib/alf/loader.rbc +0 -85
  484. data/lib/alf/operator/base.rb +0 -74
  485. data/lib/alf/operator/base.rbc +0 -860
  486. data/lib/alf/operator/binary.rbc +0 -595
  487. data/lib/alf/operator/cesure.rbc +0 -883
  488. data/lib/alf/operator/class_methods.rbc +0 -1915
  489. data/lib/alf/operator/experimental.rbc +0 -200
  490. data/lib/alf/operator/non_relational/autonum.rbc +0 -587
  491. data/lib/alf/operator/non_relational/clip.rbc +0 -522
  492. data/lib/alf/operator/non_relational/coerce.rbc +0 -596
  493. data/lib/alf/operator/non_relational/compact.rbc +0 -1283
  494. data/lib/alf/operator/non_relational/defaults.rbc +0 -733
  495. data/lib/alf/operator/non_relational/generator.rbc +0 -1015
  496. data/lib/alf/operator/non_relational/sort.rbc +0 -665
  497. data/lib/alf/operator/nullary.rbc +0 -404
  498. data/lib/alf/operator/relational/extend.rbc +0 -616
  499. data/lib/alf/operator/relational/group.rbc +0 -968
  500. data/lib/alf/operator/relational/heading.rbc +0 -657
  501. data/lib/alf/operator/relational/intersect.rbc +0 -969
  502. data/lib/alf/operator/relational/join.rbc +0 -1708
  503. data/lib/alf/operator/relational/matching.rbc +0 -1047
  504. data/lib/alf/operator/relational/minus.rbc +0 -965
  505. data/lib/alf/operator/relational/not_matching.rbc +0 -1047
  506. data/lib/alf/operator/relational/project.rbc +0 -669
  507. data/lib/alf/operator/relational/quota.rbc +0 -1193
  508. data/lib/alf/operator/relational/rank.rbc +0 -1217
  509. data/lib/alf/operator/relational/rename.rbc +0 -496
  510. data/lib/alf/operator/relational/restrict.rbc +0 -611
  511. data/lib/alf/operator/relational/summarize.rbc +0 -1922
  512. data/lib/alf/operator/relational/ungroup.rbc +0 -643
  513. data/lib/alf/operator/relational/union.rbc +0 -846
  514. data/lib/alf/operator/relational/unwrap.rbc +0 -540
  515. data/lib/alf/operator/relational/wrap.rbc +0 -560
  516. data/lib/alf/operator/shortcut.rb +0 -53
  517. data/lib/alf/operator/shortcut.rbc +0 -809
  518. data/lib/alf/operator/signature.rbc +0 -4640
  519. data/lib/alf/operator/transform.rb +0 -27
  520. data/lib/alf/operator/transform.rbc +0 -484
  521. data/lib/alf/operator/unary.rbc +0 -629
  522. data/lib/alf/reader/alf_file.rbc +0 -464
  523. data/lib/alf/reader/base.rbc +0 -1613
  524. data/lib/alf/reader/class_methods.rbc +0 -1099
  525. data/lib/alf/reader/rash.rbc +0 -583
  526. data/lib/alf/relation/class_methods.rbc +0 -674
  527. data/lib/alf/relation/instance_methods.rbc +0 -2107
  528. data/lib/alf/renderer/base.rbc +0 -936
  529. data/lib/alf/renderer/class_methods.rbc +0 -875
  530. data/lib/alf/renderer/rash.rbc +0 -802
  531. data/lib/alf/renderer/text.rbc +0 -5530
  532. data/lib/alf/tools/coerce.rbc +0 -352
  533. data/lib/alf/tools/miscellaneous.rbc +0 -1497
  534. data/lib/alf/tools/to_lispy.rbc +0 -2618
  535. data/lib/alf/tools/to_ruby_literal.rbc +0 -344
  536. data/lib/alf/tools/tuple_handle.rbc +0 -738
  537. data/lib/alf/types/attr_list.rbc +0 -1535
  538. data/lib/alf/types/attr_name.rbc +0 -781
  539. data/lib/alf/types/boolean.rbc +0 -365
  540. data/lib/alf/types/heading.rbc +0 -1778
  541. data/lib/alf/types/ordering.rbc +0 -2228
  542. data/lib/alf/types/renaming.rbc +0 -1064
  543. data/lib/alf/types/summarization.rbc +0 -1394
  544. data/lib/alf/types/tuple_computation.rbc +0 -1061
  545. data/lib/alf/types/tuple_expression.rbc +0 -1016
  546. data/lib/alf/types/tuple_predicate.rbc +0 -1349
  547. data/lib/alf/version.rbc +0 -350
  548. data/lib/alf.rbc +0 -3884
  549. data/spec/integration/command/alf/alf_env.cmd +0 -1
  550. data/spec/integration/command/alf/alf_env_sqlite.cmd +0 -1
  551. data/spec/integration/command/alf/alf_implicit_exec.cmd +0 -1
  552. data/spec/integration/command/autonum/autonum_1.cmd +0 -1
  553. data/spec/integration/command/clip/clip_0.cmd +0 -1
  554. data/spec/integration/command/clip/clip_1.cmd +0 -1
  555. data/spec/integration/command/show/show_rash_2.cmd +0 -1
  556. data/spec/integration/command/show/show_rash_2.stdout +0 -5
  557. data/spec/integration/test_alf.rbc +0 -1098
  558. data/spec/integration/test_command.rbc +0 -1832
  559. data/spec/integration/test_examples.rbc +0 -559
  560. data/spec/integration/test_semantics.rbc +0 -991
  561. data/spec/regression/alf_file/test___FILE__.rbc +0 -524
  562. data/spec/regression/heading/test_heading_with_date.rbc +0 -381
  563. data/spec/regression/lispy/test_compile.rbc +0 -404
  564. data/spec/regression/logs/test_path_attribute.rbc +0 -687
  565. data/spec/regression/relation/test_relation_allbut_all.rbc +0 -468
  566. data/spec/regression/relation/test_relation_with_date.rbc +0 -381
  567. data/spec/regression/restrict/test_restrict_with_keywords.rbc +0 -628
  568. data/spec/shared/a_value.rbc +0 -337
  569. data/spec/shared/an_operator_class.rbc +0 -908
  570. data/spec/spec_helper.rbc +0 -453
  571. data/spec/unit/assumptions/test_file.rbc +0 -668
  572. data/spec/unit/assumptions/test_instance_eval.rbc +0 -654
  573. data/spec/unit/assumptions/test_scoping.rbc +0 -755
  574. data/spec/unit/assumptions/test_set.rbc +0 -1928
  575. data/spec/unit/command/doc_manager/test_call.rbc +0 -1537
  576. data/spec/unit/csv/test_reader.rbc +0 -2228
  577. data/spec/unit/csv/test_renderer.rbc +0 -2426
  578. data/spec/unit/environment/test_explicit.rb +0 -15
  579. data/spec/unit/environment/test_explicit.rbc +0 -464
  580. data/spec/unit/environment/test_folder.rb +0 -35
  581. data/spec/unit/environment/test_folder.rbc +0 -1304
  582. data/spec/unit/lispy/test_relation.rbc +0 -1477
  583. data/spec/unit/lispy/test_run.rbc +0 -1735
  584. data/spec/unit/lispy/test_tuple.rbc +0 -1686
  585. data/spec/unit/logs/test_reader.rbc +0 -1807
  586. data/spec/unit/operator/non_relational/compact/test_buffer_based.rb +0 -30
  587. data/spec/unit/operator/non_relational/compact/test_buffer_based.rbc +0 -1127
  588. data/spec/unit/operator/non_relational/compact/test_sort_based.rbc +0 -1127
  589. data/spec/unit/operator/non_relational/test_autonum.rbc +0 -1969
  590. data/spec/unit/operator/non_relational/test_clip.rb +0 -49
  591. data/spec/unit/operator/non_relational/test_clip.rbc +0 -1850
  592. data/spec/unit/operator/non_relational/test_coerce.rbc +0 -1290
  593. data/spec/unit/operator/non_relational/test_compact.rb +0 -38
  594. data/spec/unit/operator/non_relational/test_compact.rbc +0 -1382
  595. data/spec/unit/operator/non_relational/test_defaults.rbc +0 -2319
  596. data/spec/unit/operator/non_relational/test_generator.rbc +0 -2361
  597. data/spec/unit/operator/non_relational/test_sort.rbc +0 -2583
  598. data/spec/unit/operator/relational/join/test_hash_based.rbc +0 -2481
  599. data/spec/unit/operator/relational/matching/test_hash_based.rb +0 -60
  600. data/spec/unit/operator/relational/matching/test_hash_based.rbc +0 -2458
  601. data/spec/unit/operator/relational/not_matching/test_hash_based.rb +0 -37
  602. data/spec/unit/operator/relational/not_matching/test_hash_based.rbc +0 -1632
  603. data/spec/unit/operator/relational/summarize/test_hash_based.rbc +0 -1990
  604. data/spec/unit/operator/relational/summarize/test_sort_based.rbc +0 -1990
  605. data/spec/unit/operator/relational/test_extend.rbc +0 -1300
  606. data/spec/unit/operator/relational/test_group.rbc +0 -2142
  607. data/spec/unit/operator/relational/test_intersect.rbc +0 -2069
  608. data/spec/unit/operator/relational/test_join.rbc +0 -1282
  609. data/spec/unit/operator/relational/test_minus.rbc +0 -1995
  610. data/spec/unit/operator/relational/test_project.rb +0 -75
  611. data/spec/unit/operator/relational/test_project.rbc +0 -2870
  612. data/spec/unit/operator/relational/test_quota.rbc +0 -1788
  613. data/spec/unit/operator/relational/test_rank.rbc +0 -2079
  614. data/spec/unit/operator/relational/test_rename.rbc +0 -1158
  615. data/spec/unit/operator/relational/test_restrict.rb +0 -56
  616. data/spec/unit/operator/relational/test_restrict.rbc +0 -2305
  617. data/spec/unit/operator/relational/test_summarize.rbc +0 -2570
  618. data/spec/unit/operator/relational/test_ungroup.rbc +0 -1425
  619. data/spec/unit/operator/relational/test_union.rbc +0 -1089
  620. data/spec/unit/operator/relational/test_unwrap.rbc +0 -1176
  621. data/spec/unit/operator/relational/test_wrap.rbc +0 -1203
  622. data/spec/unit/operator/signature/test_collect_on.rb +0 -45
  623. data/spec/unit/operator/signature/test_collect_on.rbc +0 -1989
  624. data/spec/unit/operator/signature/test_initialize.rbc +0 -544
  625. data/spec/unit/operator/signature/test_install.rbc +0 -1671
  626. data/spec/unit/operator/signature/test_option_parser.rbc +0 -1348
  627. data/spec/unit/operator/signature/test_parse_args.rb +0 -60
  628. data/spec/unit/operator/signature/test_parse_args.rbc +0 -1908
  629. data/spec/unit/operator/signature/test_parse_argv.rb +0 -87
  630. data/spec/unit/operator/signature/test_parse_argv.rbc +0 -2878
  631. data/spec/unit/operator/signature/test_to_lispy.rbc +0 -3305
  632. data/spec/unit/operator/signature/test_to_shell.rbc +0 -3327
  633. data/spec/unit/operator/test_non_relational.rbc +0 -571
  634. data/spec/unit/operator/test_relational.rbc +0 -758
  635. data/spec/unit/reader/test_alf_file.rbc +0 -1107
  636. data/spec/unit/reader/test_initialize.rbc +0 -1774
  637. data/spec/unit/reader/test_rash.rbc +0 -1127
  638. data/spec/unit/relation/test_coerce.rbc +0 -2320
  639. data/spec/unit/relation/test_inspect.rbc +0 -502
  640. data/spec/unit/relation/test_relops.rbc +0 -1585
  641. data/spec/unit/relation/test_to_a.rbc +0 -1112
  642. data/spec/unit/renderer/test_initialize.rbc +0 -1766
  643. data/spec/unit/sequel/test_environment.rb +0 -54
  644. data/spec/unit/sequel/test_environment.rbc +0 -1723
  645. data/spec/unit/test_aggregator.rb +0 -109
  646. data/spec/unit/test_aggregator.rbc +0 -4358
  647. data/spec/unit/test_environment.rbc +0 -1271
  648. data/spec/unit/test_lispy.rbc +0 -879
  649. data/spec/unit/test_operator.rbc +0 -531
  650. data/spec/unit/test_reader.rbc +0 -1249
  651. data/spec/unit/test_relation.rbc +0 -2588
  652. data/spec/unit/test_renderer.rbc +0 -2011
  653. data/spec/unit/text/test_cell.rbc +0 -1532
  654. data/spec/unit/text/test_row.rbc +0 -847
  655. data/spec/unit/text/test_table.rbc +0 -978
  656. data/spec/unit/tools/test_coalesce.rbc +0 -456
  657. data/spec/unit/tools/test_coerce.rb +0 -10
  658. data/spec/unit/tools/test_coerce.rbc +0 -279
  659. data/spec/unit/tools/test_to_lispy.rbc +0 -5711
  660. data/spec/unit/tools/test_to_ruby_literal.rbc +0 -272
  661. data/spec/unit/tools/test_tools.rb +0 -25
  662. data/spec/unit/tools/test_tools.rbc +0 -672
  663. data/spec/unit/tools/test_tuple_handle.rbc +0 -1591
  664. data/spec/unit/tools/test_tuple_heading.rb +0 -20
  665. data/spec/unit/tools/test_tuple_heading.rbc +0 -821
  666. data/spec/unit/tools/test_varargs.rbc +0 -495
  667. data/spec/unit/types/heading/test_union.rb +0 -21
  668. data/spec/unit/types/heading/test_union.rbc +0 -1043
  669. data/spec/unit/types/test_attr_list.rb +0 -106
  670. data/spec/unit/types/test_attr_list.rbc +0 -4481
  671. data/spec/unit/types/test_attr_name.rbc +0 -1872
  672. data/spec/unit/types/test_heading.rb +0 -48
  673. data/spec/unit/types/test_heading.rbc +0 -1735
  674. data/spec/unit/types/test_ordering.rb +0 -127
  675. data/spec/unit/types/test_ordering.rbc +0 -3695
  676. data/spec/unit/types/test_renaming.rb +0 -55
  677. data/spec/unit/types/test_renaming.rbc +0 -2426
  678. data/spec/unit/types/test_summarization.rbc +0 -2538
  679. data/spec/unit/types/test_tuple_computation.rbc +0 -2340
  680. data/spec/unit/types/test_tuple_expression.rb +0 -64
  681. data/spec/unit/types/test_tuple_expression.rbc +0 -2285
  682. data/spec/unit/types/test_tuple_predicate.rbc +0 -3168
@@ -1,2320 +0,0 @@
1
- !RBIX
2
- 11817445442317083511
3
- x
4
- M
5
- 1
6
- n
7
- n
8
- x
9
- 10
10
- __script__
11
- i
12
- 37
13
- 5
14
- 7
15
- 0
16
- 64
17
- 47
18
- 49
19
- 1
20
- 1
21
- 15
22
- 99
23
- 7
24
- 2
25
- 65
26
- 49
27
- 3
28
- 2
29
- 13
30
- 99
31
- 12
32
- 7
33
- 4
34
- 12
35
- 7
36
- 5
37
- 12
38
- 65
39
- 12
40
- 49
41
- 6
42
- 4
43
- 15
44
- 49
45
- 4
46
- 0
47
- 15
48
- 2
49
- 11
50
- I
51
- 6
52
- I
53
- 0
54
- I
55
- 0
56
- I
57
- 0
58
- n
59
- p
60
- 7
61
- s
62
- 11
63
- spec_helper
64
- x
65
- 7
66
- require
67
- x
68
- 3
69
- Alf
70
- x
71
- 11
72
- open_module
73
- x
74
- 15
75
- __module_init__
76
- M
77
- 1
78
- n
79
- n
80
- x
81
- 3
82
- Alf
83
- i
84
- 13
85
- 5
86
- 66
87
- 5
88
- 45
89
- 0
90
- 1
91
- 56
92
- 2
93
- 47
94
- 50
95
- 3
96
- 1
97
- 11
98
- I
99
- 3
100
- I
101
- 0
102
- I
103
- 0
104
- I
105
- 0
106
- n
107
- p
108
- 4
109
- x
110
- 8
111
- Relation
112
- n
113
- M
114
- 1
115
- p
116
- 2
117
- x
118
- 9
119
- for_block
120
- t
121
- n
122
- x
123
- 3
124
- Alf
125
- i
126
- 41
127
- 5
128
- 7
129
- 0
130
- 56
131
- 1
132
- 47
133
- 50
134
- 2
135
- 1
136
- 15
137
- 5
138
- 7
139
- 3
140
- 56
141
- 4
142
- 47
143
- 50
144
- 2
145
- 1
146
- 15
147
- 5
148
- 7
149
- 5
150
- 56
151
- 6
152
- 47
153
- 50
154
- 2
155
- 1
156
- 15
157
- 5
158
- 7
159
- 7
160
- 64
161
- 56
162
- 8
163
- 47
164
- 50
165
- 9
166
- 1
167
- 11
168
- I
169
- 4
170
- I
171
- 0
172
- I
173
- 0
174
- I
175
- 0
176
- I
177
- -2
178
- p
179
- 10
180
- x
181
- 13
182
- tuples_by_sid
183
- M
184
- 1
185
- p
186
- 2
187
- x
188
- 9
189
- for_block
190
- t
191
- n
192
- x
193
- 3
194
- Alf
195
- i
196
- 144
197
- 44
198
- 43
199
- 0
200
- 4
201
- 4
202
- 49
203
- 1
204
- 1
205
- 13
206
- 7
207
- 2
208
- 7
209
- 3
210
- 64
211
- 49
212
- 4
213
- 2
214
- 15
215
- 13
216
- 7
217
- 5
218
- 7
219
- 6
220
- 64
221
- 49
222
- 4
223
- 2
224
- 15
225
- 13
226
- 7
227
- 7
228
- 4
229
- 20
230
- 49
231
- 4
232
- 2
233
- 15
234
- 13
235
- 7
236
- 8
237
- 7
238
- 9
239
- 64
240
- 49
241
- 4
242
- 2
243
- 15
244
- 44
245
- 43
246
- 0
247
- 4
248
- 4
249
- 49
250
- 1
251
- 1
252
- 13
253
- 7
254
- 2
255
- 7
256
- 10
257
- 64
258
- 49
259
- 4
260
- 2
261
- 15
262
- 13
263
- 7
264
- 5
265
- 7
266
- 11
267
- 64
268
- 49
269
- 4
270
- 2
271
- 15
272
- 13
273
- 7
274
- 7
275
- 4
276
- 10
277
- 49
278
- 4
279
- 2
280
- 15
281
- 13
282
- 7
283
- 8
284
- 7
285
- 12
286
- 64
287
- 49
288
- 4
289
- 2
290
- 15
291
- 44
292
- 43
293
- 0
294
- 4
295
- 4
296
- 49
297
- 1
298
- 1
299
- 13
300
- 7
301
- 2
302
- 7
303
- 13
304
- 64
305
- 49
306
- 4
307
- 2
308
- 15
309
- 13
310
- 7
311
- 5
312
- 7
313
- 14
314
- 64
315
- 49
316
- 4
317
- 2
318
- 15
319
- 13
320
- 7
321
- 7
322
- 4
323
- 30
324
- 49
325
- 4
326
- 2
327
- 15
328
- 13
329
- 7
330
- 8
331
- 7
332
- 12
333
- 64
334
- 49
335
- 4
336
- 2
337
- 15
338
- 35
339
- 3
340
- 11
341
- I
342
- 7
343
- I
344
- 0
345
- I
346
- 0
347
- I
348
- 0
349
- I
350
- -2
351
- p
352
- 15
353
- x
354
- 4
355
- Hash
356
- x
357
- 16
358
- new_from_literal
359
- x
360
- 3
361
- sid
362
- s
363
- 2
364
- S1
365
- x
366
- 3
367
- []=
368
- x
369
- 4
370
- name
371
- s
372
- 5
373
- Smith
374
- x
375
- 6
376
- status
377
- x
378
- 4
379
- city
380
- s
381
- 6
382
- London
383
- s
384
- 2
385
- S2
386
- s
387
- 5
388
- Jones
389
- s
390
- 5
391
- Paris
392
- s
393
- 2
394
- S3
395
- s
396
- 5
397
- Blake
398
- p
399
- 7
400
- I
401
- 0
402
- I
403
- 6
404
- I
405
- 2f
406
- I
407
- 7
408
- I
409
- 5e
410
- I
411
- 8
412
- I
413
- 90
414
- x
415
- 63
416
- /home/blambeau/work/devel/alf/spec/unit/relation/test_coerce.rb
417
- p
418
- 0
419
- x
420
- 3
421
- let
422
- x
423
- 3
424
- rel
425
- M
426
- 1
427
- p
428
- 2
429
- x
430
- 9
431
- for_block
432
- t
433
- n
434
- x
435
- 3
436
- Alf
437
- i
438
- 37
439
- 45
440
- 0
441
- 1
442
- 13
443
- 71
444
- 2
445
- 47
446
- 9
447
- 27
448
- 47
449
- 49
450
- 3
451
- 0
452
- 13
453
- 5
454
- 48
455
- 4
456
- 49
457
- 5
458
- 0
459
- 47
460
- 49
461
- 6
462
- 1
463
- 15
464
- 8
465
- 36
466
- 5
467
- 48
468
- 4
469
- 49
470
- 5
471
- 0
472
- 49
473
- 2
474
- 1
475
- 11
476
- I
477
- 4
478
- I
479
- 0
480
- I
481
- 0
482
- I
483
- 0
484
- I
485
- -2
486
- p
487
- 7
488
- x
489
- 8
490
- Relation
491
- n
492
- x
493
- 3
494
- new
495
- x
496
- 8
497
- allocate
498
- x
499
- 13
500
- tuples_by_sid
501
- x
502
- 6
503
- to_set
504
- x
505
- 10
506
- initialize
507
- p
508
- 3
509
- I
510
- 0
511
- I
512
- a
513
- I
514
- 25
515
- x
516
- 63
517
- /home/blambeau/work/devel/alf/spec/unit/relation/test_coerce.rb
518
- p
519
- 0
520
- x
521
- 14
522
- tuples_by_name
523
- M
524
- 1
525
- p
526
- 2
527
- x
528
- 9
529
- for_block
530
- t
531
- n
532
- x
533
- 3
534
- Alf
535
- i
536
- 9
537
- 5
538
- 48
539
- 0
540
- 56
541
- 1
542
- 50
543
- 2
544
- 0
545
- 11
546
- I
547
- 3
548
- I
549
- 0
550
- I
551
- 0
552
- I
553
- 0
554
- I
555
- -2
556
- p
557
- 3
558
- x
559
- 13
560
- tuples_by_sid
561
- M
562
- 1
563
- p
564
- 2
565
- x
566
- 9
567
- for_block
568
- t
569
- n
570
- x
571
- 3
572
- Alf
573
- i
574
- 28
575
- 58
576
- 37
577
- 19
578
- 0
579
- 15
580
- 37
581
- 19
582
- 1
583
- 15
584
- 15
585
- 20
586
- 0
587
- 7
588
- 0
589
- 49
590
- 1
591
- 1
592
- 20
593
- 1
594
- 7
595
- 0
596
- 49
597
- 1
598
- 1
599
- 49
600
- 2
601
- 1
602
- 11
603
- I
604
- 6
605
- I
606
- 2
607
- I
608
- 2
609
- I
610
- 2
611
- n
612
- p
613
- 3
614
- x
615
- 4
616
- name
617
- x
618
- 2
619
- []
620
- x
621
- 3
622
- <=>
623
- p
624
- 3
625
- I
626
- 0
627
- I
628
- b
629
- I
630
- 1c
631
- x
632
- 63
633
- /home/blambeau/work/devel/alf/spec/unit/relation/test_coerce.rb
634
- p
635
- 2
636
- x
637
- 2
638
- t1
639
- x
640
- 2
641
- t2
642
- x
643
- 4
644
- sort
645
- p
646
- 3
647
- I
648
- 0
649
- I
650
- b
651
- I
652
- 9
653
- x
654
- 63
655
- /home/blambeau/work/devel/alf/spec/unit/relation/test_coerce.rb
656
- p
657
- 0
658
- s
659
- 6
660
- coerce
661
- M
662
- 1
663
- p
664
- 2
665
- x
666
- 9
667
- for_block
668
- t
669
- n
670
- x
671
- 3
672
- Alf
673
- i
674
- 74
675
- 5
676
- 56
677
- 0
678
- 47
679
- 50
680
- 1
681
- 0
682
- 15
683
- 5
684
- 7
685
- 2
686
- 64
687
- 56
688
- 3
689
- 47
690
- 50
691
- 4
692
- 1
693
- 15
694
- 5
695
- 7
696
- 5
697
- 64
698
- 56
699
- 6
700
- 47
701
- 50
702
- 4
703
- 1
704
- 15
705
- 5
706
- 7
707
- 7
708
- 64
709
- 56
710
- 8
711
- 47
712
- 50
713
- 4
714
- 1
715
- 15
716
- 5
717
- 7
718
- 9
719
- 64
720
- 56
721
- 10
722
- 47
723
- 50
724
- 4
725
- 1
726
- 15
727
- 5
728
- 7
729
- 11
730
- 64
731
- 56
732
- 12
733
- 47
734
- 50
735
- 4
736
- 1
737
- 15
738
- 5
739
- 7
740
- 13
741
- 64
742
- 56
743
- 14
744
- 47
745
- 50
746
- 15
747
- 1
748
- 11
749
- I
750
- 4
751
- I
752
- 0
753
- I
754
- 0
755
- I
756
- 0
757
- I
758
- -2
759
- p
760
- 16
761
- M
762
- 1
763
- p
764
- 2
765
- x
766
- 9
767
- for_block
768
- t
769
- n
770
- x
771
- 3
772
- Alf
773
- i
774
- 10
775
- 45
776
- 0
777
- 1
778
- 5
779
- 48
780
- 2
781
- 49
782
- 3
783
- 1
784
- 11
785
- I
786
- 3
787
- I
788
- 0
789
- I
790
- 0
791
- I
792
- 0
793
- I
794
- -2
795
- p
796
- 4
797
- x
798
- 8
799
- Relation
800
- n
801
- x
802
- 3
803
- arg
804
- x
805
- 6
806
- coerce
807
- p
808
- 3
809
- I
810
- 0
811
- I
812
- f
813
- I
814
- a
815
- x
816
- 63
817
- /home/blambeau/work/devel/alf/spec/unit/relation/test_coerce.rb
818
- p
819
- 0
820
- x
821
- 7
822
- subject
823
- s
824
- 15
825
- with a Relation
826
- M
827
- 1
828
- p
829
- 2
830
- x
831
- 9
832
- for_block
833
- t
834
- n
835
- x
836
- 3
837
- Alf
838
- i
839
- 26
840
- 5
841
- 7
842
- 0
843
- 56
844
- 1
845
- 47
846
- 50
847
- 2
848
- 1
849
- 15
850
- 5
851
- 56
852
- 3
853
- 47
854
- 50
855
- 4
856
- 0
857
- 15
858
- 5
859
- 56
860
- 5
861
- 47
862
- 50
863
- 4
864
- 0
865
- 11
866
- I
867
- 4
868
- I
869
- 0
870
- I
871
- 0
872
- I
873
- 0
874
- I
875
- -2
876
- p
877
- 6
878
- x
879
- 3
880
- arg
881
- M
882
- 1
883
- p
884
- 2
885
- x
886
- 9
887
- for_block
888
- t
889
- n
890
- x
891
- 3
892
- Alf
893
- i
894
- 4
895
- 5
896
- 48
897
- 0
898
- 11
899
- I
900
- 2
901
- I
902
- 0
903
- I
904
- 0
905
- I
906
- 0
907
- I
908
- -2
909
- p
910
- 1
911
- x
912
- 3
913
- rel
914
- p
915
- 3
916
- I
917
- 0
918
- I
919
- 12
920
- I
921
- 4
922
- x
923
- 63
924
- /home/blambeau/work/devel/alf/spec/unit/relation/test_coerce.rb
925
- p
926
- 0
927
- x
928
- 3
929
- let
930
- M
931
- 1
932
- p
933
- 2
934
- x
935
- 9
936
- for_block
937
- t
938
- n
939
- x
940
- 3
941
- Alf
942
- i
943
- 14
944
- 5
945
- 5
946
- 45
947
- 0
948
- 1
949
- 47
950
- 49
951
- 2
952
- 1
953
- 47
954
- 49
955
- 3
956
- 1
957
- 11
958
- I
959
- 4
960
- I
961
- 0
962
- I
963
- 0
964
- I
965
- 0
966
- I
967
- -2
968
- p
969
- 4
970
- x
971
- 8
972
- Relation
973
- n
974
- x
975
- 4
976
- be_a
977
- x
978
- 6
979
- should
980
- p
981
- 3
982
- I
983
- 0
984
- I
985
- 13
986
- I
987
- e
988
- x
989
- 63
990
- /home/blambeau/work/devel/alf/spec/unit/relation/test_coerce.rb
991
- p
992
- 0
993
- x
994
- 2
995
- it
996
- M
997
- 1
998
- p
999
- 2
1000
- x
1001
- 9
1002
- for_block
1003
- t
1004
- n
1005
- x
1006
- 3
1007
- Alf
1008
- i
1009
- 9
1010
- 5
1011
- 48
1012
- 0
1013
- 5
1014
- 48
1015
- 1
1016
- 83
1017
- 2
1018
- 11
1019
- I
1020
- 3
1021
- I
1022
- 0
1023
- I
1024
- 0
1025
- I
1026
- 0
1027
- I
1028
- -2
1029
- p
1030
- 3
1031
- x
1032
- 6
1033
- should
1034
- x
1035
- 3
1036
- rel
1037
- x
1038
- 2
1039
- ==
1040
- p
1041
- 3
1042
- I
1043
- 0
1044
- I
1045
- 14
1046
- I
1047
- 9
1048
- x
1049
- 63
1050
- /home/blambeau/work/devel/alf/spec/unit/relation/test_coerce.rb
1051
- p
1052
- 0
1053
- p
1054
- 7
1055
- I
1056
- 0
1057
- I
1058
- 12
1059
- I
1060
- a
1061
- I
1062
- 13
1063
- I
1064
- 12
1065
- I
1066
- 14
1067
- I
1068
- 1a
1069
- x
1070
- 63
1071
- /home/blambeau/work/devel/alf/spec/unit/relation/test_coerce.rb
1072
- p
1073
- 0
1074
- x
1075
- 8
1076
- describe
1077
- s
1078
- 20
1079
- with a set of tuples
1080
- M
1081
- 1
1082
- p
1083
- 2
1084
- x
1085
- 9
1086
- for_block
1087
- t
1088
- n
1089
- x
1090
- 3
1091
- Alf
1092
- i
1093
- 26
1094
- 5
1095
- 7
1096
- 0
1097
- 56
1098
- 1
1099
- 47
1100
- 50
1101
- 2
1102
- 1
1103
- 15
1104
- 5
1105
- 56
1106
- 3
1107
- 47
1108
- 50
1109
- 4
1110
- 0
1111
- 15
1112
- 5
1113
- 56
1114
- 5
1115
- 47
1116
- 50
1117
- 4
1118
- 0
1119
- 11
1120
- I
1121
- 4
1122
- I
1123
- 0
1124
- I
1125
- 0
1126
- I
1127
- 0
1128
- I
1129
- -2
1130
- p
1131
- 6
1132
- x
1133
- 3
1134
- arg
1135
- M
1136
- 1
1137
- p
1138
- 2
1139
- x
1140
- 9
1141
- for_block
1142
- t
1143
- n
1144
- x
1145
- 3
1146
- Alf
1147
- i
1148
- 7
1149
- 5
1150
- 48
1151
- 0
1152
- 49
1153
- 1
1154
- 0
1155
- 11
1156
- I
1157
- 2
1158
- I
1159
- 0
1160
- I
1161
- 0
1162
- I
1163
- 0
1164
- I
1165
- -2
1166
- p
1167
- 2
1168
- x
1169
- 14
1170
- tuples_by_name
1171
- x
1172
- 6
1173
- to_set
1174
- p
1175
- 3
1176
- I
1177
- 0
1178
- I
1179
- 18
1180
- I
1181
- 7
1182
- x
1183
- 63
1184
- /home/blambeau/work/devel/alf/spec/unit/relation/test_coerce.rb
1185
- p
1186
- 0
1187
- x
1188
- 3
1189
- let
1190
- M
1191
- 1
1192
- p
1193
- 2
1194
- x
1195
- 9
1196
- for_block
1197
- t
1198
- n
1199
- x
1200
- 3
1201
- Alf
1202
- i
1203
- 14
1204
- 5
1205
- 5
1206
- 45
1207
- 0
1208
- 1
1209
- 47
1210
- 49
1211
- 2
1212
- 1
1213
- 47
1214
- 49
1215
- 3
1216
- 1
1217
- 11
1218
- I
1219
- 4
1220
- I
1221
- 0
1222
- I
1223
- 0
1224
- I
1225
- 0
1226
- I
1227
- -2
1228
- p
1229
- 4
1230
- x
1231
- 8
1232
- Relation
1233
- n
1234
- x
1235
- 4
1236
- be_a
1237
- x
1238
- 6
1239
- should
1240
- p
1241
- 3
1242
- I
1243
- 0
1244
- I
1245
- 19
1246
- I
1247
- e
1248
- x
1249
- 63
1250
- /home/blambeau/work/devel/alf/spec/unit/relation/test_coerce.rb
1251
- p
1252
- 0
1253
- x
1254
- 2
1255
- it
1256
- M
1257
- 1
1258
- p
1259
- 2
1260
- x
1261
- 9
1262
- for_block
1263
- t
1264
- n
1265
- x
1266
- 3
1267
- Alf
1268
- i
1269
- 9
1270
- 5
1271
- 48
1272
- 0
1273
- 5
1274
- 48
1275
- 1
1276
- 83
1277
- 2
1278
- 11
1279
- I
1280
- 3
1281
- I
1282
- 0
1283
- I
1284
- 0
1285
- I
1286
- 0
1287
- I
1288
- -2
1289
- p
1290
- 3
1291
- x
1292
- 6
1293
- should
1294
- x
1295
- 3
1296
- rel
1297
- x
1298
- 2
1299
- ==
1300
- p
1301
- 3
1302
- I
1303
- 0
1304
- I
1305
- 1a
1306
- I
1307
- 9
1308
- x
1309
- 63
1310
- /home/blambeau/work/devel/alf/spec/unit/relation/test_coerce.rb
1311
- p
1312
- 0
1313
- p
1314
- 7
1315
- I
1316
- 0
1317
- I
1318
- 18
1319
- I
1320
- a
1321
- I
1322
- 19
1323
- I
1324
- 12
1325
- I
1326
- 1a
1327
- I
1328
- 1a
1329
- x
1330
- 63
1331
- /home/blambeau/work/devel/alf/spec/unit/relation/test_coerce.rb
1332
- p
1333
- 0
1334
- s
1335
- 23
1336
- with an array of tuples
1337
- M
1338
- 1
1339
- p
1340
- 2
1341
- x
1342
- 9
1343
- for_block
1344
- t
1345
- n
1346
- x
1347
- 3
1348
- Alf
1349
- i
1350
- 26
1351
- 5
1352
- 7
1353
- 0
1354
- 56
1355
- 1
1356
- 47
1357
- 50
1358
- 2
1359
- 1
1360
- 15
1361
- 5
1362
- 56
1363
- 3
1364
- 47
1365
- 50
1366
- 4
1367
- 0
1368
- 15
1369
- 5
1370
- 56
1371
- 5
1372
- 47
1373
- 50
1374
- 4
1375
- 0
1376
- 11
1377
- I
1378
- 4
1379
- I
1380
- 0
1381
- I
1382
- 0
1383
- I
1384
- 0
1385
- I
1386
- -2
1387
- p
1388
- 6
1389
- x
1390
- 3
1391
- arg
1392
- M
1393
- 1
1394
- p
1395
- 2
1396
- x
1397
- 9
1398
- for_block
1399
- t
1400
- n
1401
- x
1402
- 3
1403
- Alf
1404
- i
1405
- 4
1406
- 5
1407
- 48
1408
- 0
1409
- 11
1410
- I
1411
- 2
1412
- I
1413
- 0
1414
- I
1415
- 0
1416
- I
1417
- 0
1418
- I
1419
- -2
1420
- p
1421
- 1
1422
- x
1423
- 14
1424
- tuples_by_name
1425
- p
1426
- 3
1427
- I
1428
- 0
1429
- I
1430
- 1e
1431
- I
1432
- 4
1433
- x
1434
- 63
1435
- /home/blambeau/work/devel/alf/spec/unit/relation/test_coerce.rb
1436
- p
1437
- 0
1438
- x
1439
- 3
1440
- let
1441
- M
1442
- 1
1443
- p
1444
- 2
1445
- x
1446
- 9
1447
- for_block
1448
- t
1449
- n
1450
- x
1451
- 3
1452
- Alf
1453
- i
1454
- 14
1455
- 5
1456
- 5
1457
- 45
1458
- 0
1459
- 1
1460
- 47
1461
- 49
1462
- 2
1463
- 1
1464
- 47
1465
- 49
1466
- 3
1467
- 1
1468
- 11
1469
- I
1470
- 4
1471
- I
1472
- 0
1473
- I
1474
- 0
1475
- I
1476
- 0
1477
- I
1478
- -2
1479
- p
1480
- 4
1481
- x
1482
- 8
1483
- Relation
1484
- n
1485
- x
1486
- 4
1487
- be_a
1488
- x
1489
- 6
1490
- should
1491
- p
1492
- 3
1493
- I
1494
- 0
1495
- I
1496
- 1f
1497
- I
1498
- e
1499
- x
1500
- 63
1501
- /home/blambeau/work/devel/alf/spec/unit/relation/test_coerce.rb
1502
- p
1503
- 0
1504
- x
1505
- 2
1506
- it
1507
- M
1508
- 1
1509
- p
1510
- 2
1511
- x
1512
- 9
1513
- for_block
1514
- t
1515
- n
1516
- x
1517
- 3
1518
- Alf
1519
- i
1520
- 9
1521
- 5
1522
- 48
1523
- 0
1524
- 5
1525
- 48
1526
- 1
1527
- 83
1528
- 2
1529
- 11
1530
- I
1531
- 3
1532
- I
1533
- 0
1534
- I
1535
- 0
1536
- I
1537
- 0
1538
- I
1539
- -2
1540
- p
1541
- 3
1542
- x
1543
- 6
1544
- should
1545
- x
1546
- 3
1547
- rel
1548
- x
1549
- 2
1550
- ==
1551
- p
1552
- 3
1553
- I
1554
- 0
1555
- I
1556
- 20
1557
- I
1558
- 9
1559
- x
1560
- 63
1561
- /home/blambeau/work/devel/alf/spec/unit/relation/test_coerce.rb
1562
- p
1563
- 0
1564
- p
1565
- 7
1566
- I
1567
- 0
1568
- I
1569
- 1e
1570
- I
1571
- a
1572
- I
1573
- 1f
1574
- I
1575
- 12
1576
- I
1577
- 20
1578
- I
1579
- 1a
1580
- x
1581
- 63
1582
- /home/blambeau/work/devel/alf/spec/unit/relation/test_coerce.rb
1583
- p
1584
- 0
1585
- s
1586
- 16
1587
- with an iterator
1588
- M
1589
- 1
1590
- p
1591
- 2
1592
- x
1593
- 9
1594
- for_block
1595
- t
1596
- n
1597
- x
1598
- 3
1599
- Alf
1600
- i
1601
- 26
1602
- 5
1603
- 7
1604
- 0
1605
- 56
1606
- 1
1607
- 47
1608
- 50
1609
- 2
1610
- 1
1611
- 15
1612
- 5
1613
- 56
1614
- 3
1615
- 47
1616
- 50
1617
- 4
1618
- 0
1619
- 15
1620
- 5
1621
- 56
1622
- 5
1623
- 47
1624
- 50
1625
- 4
1626
- 0
1627
- 11
1628
- I
1629
- 4
1630
- I
1631
- 0
1632
- I
1633
- 0
1634
- I
1635
- 0
1636
- I
1637
- -2
1638
- p
1639
- 6
1640
- x
1641
- 3
1642
- arg
1643
- M
1644
- 1
1645
- p
1646
- 2
1647
- x
1648
- 9
1649
- for_block
1650
- t
1651
- n
1652
- x
1653
- 3
1654
- Alf
1655
- i
1656
- 17
1657
- 45
1658
- 0
1659
- 1
1660
- 5
1661
- 48
1662
- 2
1663
- 5
1664
- 56
1665
- 3
1666
- 47
1667
- 50
1668
- 4
1669
- 0
1670
- 49
1671
- 5
1672
- 2
1673
- 11
1674
- I
1675
- 5
1676
- I
1677
- 0
1678
- I
1679
- 0
1680
- I
1681
- 0
1682
- I
1683
- -2
1684
- p
1685
- 6
1686
- x
1687
- 5
1688
- Lispy
1689
- n
1690
- x
1691
- 14
1692
- tuples_by_name
1693
- M
1694
- 1
1695
- p
1696
- 2
1697
- x
1698
- 9
1699
- for_block
1700
- t
1701
- n
1702
- x
1703
- 3
1704
- Alf
1705
- i
1706
- 2
1707
- 2
1708
- 11
1709
- I
1710
- 2
1711
- I
1712
- 0
1713
- I
1714
- 0
1715
- I
1716
- 0
1717
- I
1718
- -2
1719
- p
1720
- 0
1721
- p
1722
- 3
1723
- I
1724
- 0
1725
- I
1726
- 24
1727
- I
1728
- 2
1729
- x
1730
- 63
1731
- /home/blambeau/work/devel/alf/spec/unit/relation/test_coerce.rb
1732
- p
1733
- 0
1734
- x
1735
- 6
1736
- lambda
1737
- x
1738
- 8
1739
- restrict
1740
- p
1741
- 3
1742
- I
1743
- 0
1744
- I
1745
- 24
1746
- I
1747
- 11
1748
- x
1749
- 63
1750
- /home/blambeau/work/devel/alf/spec/unit/relation/test_coerce.rb
1751
- p
1752
- 0
1753
- x
1754
- 3
1755
- let
1756
- M
1757
- 1
1758
- p
1759
- 2
1760
- x
1761
- 9
1762
- for_block
1763
- t
1764
- n
1765
- x
1766
- 3
1767
- Alf
1768
- i
1769
- 14
1770
- 5
1771
- 5
1772
- 45
1773
- 0
1774
- 1
1775
- 47
1776
- 49
1777
- 2
1778
- 1
1779
- 47
1780
- 49
1781
- 3
1782
- 1
1783
- 11
1784
- I
1785
- 4
1786
- I
1787
- 0
1788
- I
1789
- 0
1790
- I
1791
- 0
1792
- I
1793
- -2
1794
- p
1795
- 4
1796
- x
1797
- 8
1798
- Relation
1799
- n
1800
- x
1801
- 4
1802
- be_a
1803
- x
1804
- 6
1805
- should
1806
- p
1807
- 3
1808
- I
1809
- 0
1810
- I
1811
- 25
1812
- I
1813
- e
1814
- x
1815
- 63
1816
- /home/blambeau/work/devel/alf/spec/unit/relation/test_coerce.rb
1817
- p
1818
- 0
1819
- x
1820
- 2
1821
- it
1822
- M
1823
- 1
1824
- p
1825
- 2
1826
- x
1827
- 9
1828
- for_block
1829
- t
1830
- n
1831
- x
1832
- 3
1833
- Alf
1834
- i
1835
- 9
1836
- 5
1837
- 48
1838
- 0
1839
- 5
1840
- 48
1841
- 1
1842
- 83
1843
- 2
1844
- 11
1845
- I
1846
- 3
1847
- I
1848
- 0
1849
- I
1850
- 0
1851
- I
1852
- 0
1853
- I
1854
- -2
1855
- p
1856
- 3
1857
- x
1858
- 6
1859
- should
1860
- x
1861
- 3
1862
- rel
1863
- x
1864
- 2
1865
- ==
1866
- p
1867
- 3
1868
- I
1869
- 0
1870
- I
1871
- 26
1872
- I
1873
- 9
1874
- x
1875
- 63
1876
- /home/blambeau/work/devel/alf/spec/unit/relation/test_coerce.rb
1877
- p
1878
- 0
1879
- p
1880
- 7
1881
- I
1882
- 0
1883
- I
1884
- 24
1885
- I
1886
- a
1887
- I
1888
- 25
1889
- I
1890
- 12
1891
- I
1892
- 26
1893
- I
1894
- 1a
1895
- x
1896
- 63
1897
- /home/blambeau/work/devel/alf/spec/unit/relation/test_coerce.rb
1898
- p
1899
- 0
1900
- s
1901
- 21
1902
- with unrecognized arg
1903
- M
1904
- 1
1905
- p
1906
- 2
1907
- x
1908
- 9
1909
- for_block
1910
- t
1911
- n
1912
- x
1913
- 3
1914
- Alf
1915
- i
1916
- 18
1917
- 5
1918
- 7
1919
- 0
1920
- 56
1921
- 1
1922
- 47
1923
- 50
1924
- 2
1925
- 1
1926
- 15
1927
- 5
1928
- 56
1929
- 3
1930
- 47
1931
- 50
1932
- 4
1933
- 0
1934
- 11
1935
- I
1936
- 4
1937
- I
1938
- 0
1939
- I
1940
- 0
1941
- I
1942
- 0
1943
- I
1944
- -2
1945
- p
1946
- 5
1947
- x
1948
- 3
1949
- arg
1950
- M
1951
- 1
1952
- p
1953
- 2
1954
- x
1955
- 9
1956
- for_block
1957
- t
1958
- n
1959
- x
1960
- 3
1961
- Alf
1962
- i
1963
- 2
1964
- 1
1965
- 11
1966
- I
1967
- 2
1968
- I
1969
- 0
1970
- I
1971
- 0
1972
- I
1973
- 0
1974
- I
1975
- -2
1976
- p
1977
- 0
1978
- p
1979
- 3
1980
- I
1981
- 0
1982
- I
1983
- 2a
1984
- I
1985
- 2
1986
- x
1987
- 63
1988
- /home/blambeau/work/devel/alf/spec/unit/relation/test_coerce.rb
1989
- p
1990
- 0
1991
- x
1992
- 3
1993
- let
1994
- M
1995
- 1
1996
- p
1997
- 2
1998
- x
1999
- 9
2000
- for_block
2001
- t
2002
- n
2003
- x
2004
- 3
2005
- Alf
2006
- i
2007
- 19
2008
- 5
2009
- 56
2010
- 0
2011
- 47
2012
- 50
2013
- 1
2014
- 0
2015
- 5
2016
- 45
2017
- 2
2018
- 3
2019
- 47
2020
- 49
2021
- 4
2022
- 1
2023
- 49
2024
- 5
2025
- 1
2026
- 11
2027
- I
2028
- 4
2029
- I
2030
- 0
2031
- I
2032
- 0
2033
- I
2034
- 0
2035
- I
2036
- -2
2037
- p
2038
- 6
2039
- M
2040
- 1
2041
- p
2042
- 2
2043
- x
2044
- 9
2045
- for_block
2046
- t
2047
- n
2048
- x
2049
- 3
2050
- Alf
2051
- i
2052
- 4
2053
- 5
2054
- 48
2055
- 0
2056
- 11
2057
- I
2058
- 2
2059
- I
2060
- 0
2061
- I
2062
- 0
2063
- I
2064
- 0
2065
- I
2066
- -2
2067
- p
2068
- 1
2069
- x
2070
- 7
2071
- subject
2072
- p
2073
- 3
2074
- I
2075
- 0
2076
- I
2077
- 2b
2078
- I
2079
- 4
2080
- x
2081
- 63
2082
- /home/blambeau/work/devel/alf/spec/unit/relation/test_coerce.rb
2083
- p
2084
- 0
2085
- x
2086
- 6
2087
- lambda
2088
- x
2089
- 13
2090
- ArgumentError
2091
- n
2092
- x
2093
- 11
2094
- raise_error
2095
- x
2096
- 6
2097
- should
2098
- p
2099
- 3
2100
- I
2101
- 0
2102
- I
2103
- 2b
2104
- I
2105
- 13
2106
- x
2107
- 63
2108
- /home/blambeau/work/devel/alf/spec/unit/relation/test_coerce.rb
2109
- p
2110
- 0
2111
- x
2112
- 7
2113
- specify
2114
- p
2115
- 5
2116
- I
2117
- 0
2118
- I
2119
- 2a
2120
- I
2121
- a
2122
- I
2123
- 2b
2124
- I
2125
- 12
2126
- x
2127
- 63
2128
- /home/blambeau/work/devel/alf/spec/unit/relation/test_coerce.rb
2129
- p
2130
- 0
2131
- s
2132
- 28
2133
- should be semi-aliased as []
2134
- M
2135
- 1
2136
- p
2137
- 2
2138
- x
2139
- 9
2140
- for_block
2141
- t
2142
- n
2143
- x
2144
- 3
2145
- Alf
2146
- i
2147
- 22
2148
- 45
2149
- 0
2150
- 1
2151
- 43
2152
- 2
2153
- 5
2154
- 48
2155
- 3
2156
- 36
2157
- 1
2158
- 51
2159
- 4
2160
- 0
2161
- 49
2162
- 5
2163
- 0
2164
- 5
2165
- 48
2166
- 6
2167
- 83
2168
- 7
2169
- 11
2170
- I
2171
- 4
2172
- I
2173
- 0
2174
- I
2175
- 0
2176
- I
2177
- 0
2178
- I
2179
- -2
2180
- p
2181
- 8
2182
- x
2183
- 3
2184
- Alf
2185
- n
2186
- x
2187
- 8
2188
- Relation
2189
- x
2190
- 14
2191
- tuples_by_name
2192
- x
2193
- 2
2194
- []
2195
- x
2196
- 6
2197
- should
2198
- x
2199
- 3
2200
- rel
2201
- x
2202
- 2
2203
- ==
2204
- p
2205
- 3
2206
- I
2207
- 0
2208
- I
2209
- 2f
2210
- I
2211
- 16
2212
- x
2213
- 63
2214
- /home/blambeau/work/devel/alf/spec/unit/relation/test_coerce.rb
2215
- p
2216
- 0
2217
- x
2218
- 2
2219
- it
2220
- p
2221
- 15
2222
- I
2223
- 0
2224
- I
2225
- f
2226
- I
2227
- 8
2228
- I
2229
- 11
2230
- I
2231
- 13
2232
- I
2233
- 17
2234
- I
2235
- 1e
2236
- I
2237
- 1d
2238
- I
2239
- 29
2240
- I
2241
- 23
2242
- I
2243
- 34
2244
- I
2245
- 29
2246
- I
2247
- 3f
2248
- I
2249
- 2e
2250
- I
2251
- 4a
2252
- x
2253
- 63
2254
- /home/blambeau/work/devel/alf/spec/unit/relation/test_coerce.rb
2255
- p
2256
- 0
2257
- x
2258
- 8
2259
- describe
2260
- p
2261
- 9
2262
- I
2263
- 0
2264
- I
2265
- 5
2266
- I
2267
- a
2268
- I
2269
- a
2270
- I
2271
- 14
2272
- I
2273
- b
2274
- I
2275
- 1e
2276
- I
2277
- d
2278
- I
2279
- 29
2280
- x
2281
- 63
2282
- /home/blambeau/work/devel/alf/spec/unit/relation/test_coerce.rb
2283
- p
2284
- 0
2285
- x
2286
- 8
2287
- describe
2288
- p
2289
- 3
2290
- I
2291
- 2
2292
- I
2293
- 3
2294
- I
2295
- d
2296
- x
2297
- 63
2298
- /home/blambeau/work/devel/alf/spec/unit/relation/test_coerce.rb
2299
- p
2300
- 0
2301
- x
2302
- 13
2303
- attach_method
2304
- p
2305
- 5
2306
- I
2307
- 0
2308
- I
2309
- 1
2310
- I
2311
- 9
2312
- I
2313
- 2
2314
- I
2315
- 25
2316
- x
2317
- 63
2318
- /home/blambeau/work/devel/alf/spec/unit/relation/test_coerce.rb
2319
- p
2320
- 0