trackler 2.2.1.159 → 2.2.1.160

Sign up to get free protection for your applications and to get access to all the features.
Files changed (293) hide show
  1. checksums.yaml +4 -4
  2. data/lib/trackler/version.rb +1 -1
  3. data/tracks/bash/config/maintainers.json +16 -15
  4. data/tracks/bash/config.json +111 -103
  5. data/tracks/c/config/maintainers.json +14 -14
  6. data/tracks/c/config.json +263 -242
  7. data/tracks/ceylon/config/maintainers.json +8 -8
  8. data/tracks/ceylon/config.json +30 -32
  9. data/tracks/cfml/config/maintainers.json +6 -4
  10. data/tracks/cfml/config.json +145 -92
  11. data/tracks/common-lisp/config/maintainers.json +26 -26
  12. data/tracks/common-lisp/config.json +152 -149
  13. data/tracks/cpp/config/maintainers.json +11 -11
  14. data/tracks/cpp/config.json +162 -161
  15. data/tracks/dart/config/maintainers.json +21 -17
  16. data/tracks/dart/config.json +57 -57
  17. data/tracks/delphi/config.json +1 -0
  18. data/tracks/delphi/docs/ABOUT.md +9 -6
  19. data/tracks/ecmascript/config/maintainers.json +11 -11
  20. data/tracks/ecmascript/config.json +563 -544
  21. data/tracks/ecmascript/exercises/accumulate/package.json +1 -1
  22. data/tracks/ecmascript/exercises/acronym/package.json +1 -1
  23. data/tracks/ecmascript/exercises/all-your-base/package.json +1 -1
  24. data/tracks/ecmascript/exercises/allergies/package.json +1 -1
  25. data/tracks/ecmascript/exercises/alphametics/package.json +1 -1
  26. data/tracks/ecmascript/exercises/anagram/package.json +1 -1
  27. data/tracks/ecmascript/exercises/armstrong-numbers/package.json +1 -1
  28. data/tracks/ecmascript/exercises/atbash-cipher/package.json +1 -1
  29. data/tracks/ecmascript/exercises/beer-song/package.json +1 -1
  30. data/tracks/ecmascript/exercises/binary/package.json +1 -1
  31. data/tracks/ecmascript/exercises/binary-search/package.json +1 -1
  32. data/tracks/ecmascript/exercises/binary-search-tree/package.json +1 -1
  33. data/tracks/ecmascript/exercises/bob/package.json +1 -1
  34. data/tracks/ecmascript/exercises/bowling/package.json +1 -1
  35. data/tracks/ecmascript/exercises/bracket-push/package.json +1 -1
  36. data/tracks/ecmascript/exercises/change/package.json +1 -1
  37. data/tracks/ecmascript/exercises/circular-buffer/package.json +1 -1
  38. data/tracks/ecmascript/exercises/clock/package.json +1 -1
  39. data/tracks/ecmascript/exercises/collatz-conjecture/package.json +1 -1
  40. data/tracks/ecmascript/exercises/complex-numbers/package.json +1 -1
  41. data/tracks/ecmascript/exercises/connect/package.json +1 -1
  42. data/tracks/ecmascript/exercises/crypto-square/package.json +1 -1
  43. data/tracks/ecmascript/exercises/custom-set/package.json +1 -1
  44. data/tracks/ecmascript/exercises/diamond/package.json +1 -1
  45. data/tracks/ecmascript/exercises/difference-of-squares/package.json +1 -1
  46. data/tracks/ecmascript/exercises/diffie-hellman/package.json +1 -1
  47. data/tracks/ecmascript/exercises/etl/package.json +1 -1
  48. data/tracks/ecmascript/exercises/flatten-array/package.json +1 -1
  49. data/tracks/ecmascript/exercises/food-chain/package.json +1 -1
  50. data/tracks/ecmascript/exercises/gigasecond/package.json +1 -1
  51. data/tracks/ecmascript/exercises/grade-school/package.json +1 -1
  52. data/tracks/ecmascript/exercises/grains/package.json +1 -1
  53. data/tracks/ecmascript/exercises/hamming/package.json +1 -1
  54. data/tracks/ecmascript/exercises/hello-world/package.json +1 -1
  55. data/tracks/ecmascript/exercises/hexadecimal/package.json +1 -1
  56. data/tracks/ecmascript/exercises/house/package.json +1 -1
  57. data/tracks/ecmascript/exercises/isbn-verifier/package.json +1 -1
  58. data/tracks/ecmascript/exercises/isogram/package.json +1 -1
  59. data/tracks/ecmascript/exercises/kindergarten-garden/package.json +1 -1
  60. data/tracks/ecmascript/exercises/largest-series-product/package.json +1 -1
  61. data/tracks/ecmascript/exercises/leap/package.json +1 -1
  62. data/tracks/ecmascript/exercises/linked-list/package.json +1 -1
  63. data/tracks/ecmascript/exercises/list-ops/package.json +1 -1
  64. data/tracks/ecmascript/exercises/luhn/package.json +1 -1
  65. data/tracks/ecmascript/exercises/matrix/package.json +1 -1
  66. data/tracks/ecmascript/exercises/meetup/package.json +1 -1
  67. data/tracks/ecmascript/exercises/minesweeper/package.json +1 -1
  68. data/tracks/ecmascript/exercises/nth-prime/package.json +1 -1
  69. data/tracks/ecmascript/exercises/nucleotide-count/package.json +1 -1
  70. data/tracks/ecmascript/exercises/ocr-numbers/package.json +1 -1
  71. data/tracks/ecmascript/exercises/octal/package.json +1 -1
  72. data/tracks/ecmascript/exercises/palindrome-products/package.json +1 -1
  73. data/tracks/ecmascript/exercises/pangram/package.json +1 -1
  74. data/tracks/ecmascript/exercises/pascals-triangle/package.json +1 -1
  75. data/tracks/ecmascript/exercises/perfect-numbers/package.json +1 -1
  76. data/tracks/ecmascript/exercises/phone-number/package.json +1 -1
  77. data/tracks/ecmascript/exercises/pig-latin/package.json +1 -1
  78. data/tracks/ecmascript/exercises/prime-factors/package.json +1 -1
  79. data/tracks/ecmascript/exercises/protein-translation/package.json +1 -1
  80. data/tracks/ecmascript/exercises/proverb/package.json +1 -1
  81. data/tracks/ecmascript/exercises/pythagorean-triplet/package.json +1 -1
  82. data/tracks/ecmascript/exercises/queen-attack/example.js +2 -2
  83. data/tracks/ecmascript/exercises/queen-attack/package.json +1 -1
  84. data/tracks/ecmascript/exercises/raindrops/package.json +1 -1
  85. data/tracks/ecmascript/exercises/react/package.json +1 -1
  86. data/tracks/ecmascript/exercises/rectangles/package.json +1 -1
  87. data/tracks/ecmascript/exercises/rna-transcription/package.json +1 -1
  88. data/tracks/ecmascript/exercises/robot-name/package.json +1 -1
  89. data/tracks/ecmascript/exercises/robot-simulator/package.json +1 -1
  90. data/tracks/ecmascript/exercises/roman-numerals/package.json +1 -1
  91. data/tracks/ecmascript/exercises/rotational-cipher/package.json +1 -1
  92. data/tracks/ecmascript/exercises/run-length-encoding/package.json +1 -1
  93. data/tracks/ecmascript/exercises/saddle-points/package.json +1 -1
  94. data/tracks/ecmascript/exercises/say/package.json +1 -1
  95. data/tracks/ecmascript/exercises/scrabble-score/package.json +1 -1
  96. data/tracks/ecmascript/exercises/secret-handshake/package.json +1 -1
  97. data/tracks/ecmascript/exercises/series/package.json +1 -1
  98. data/tracks/ecmascript/exercises/sieve/package.json +1 -1
  99. data/tracks/ecmascript/exercises/simple-cipher/package.json +1 -1
  100. data/tracks/ecmascript/exercises/simple-linked-list/package.json +1 -1
  101. data/tracks/ecmascript/exercises/space-age/package.json +1 -1
  102. data/tracks/ecmascript/exercises/spiral-matrix/package.json +1 -1
  103. data/tracks/ecmascript/exercises/strain/package.json +1 -1
  104. data/tracks/ecmascript/exercises/sublist/package.json +1 -1
  105. data/tracks/ecmascript/exercises/sum-of-multiples/package.json +1 -1
  106. data/tracks/ecmascript/exercises/transpose/package.json +1 -1
  107. data/tracks/ecmascript/exercises/triangle/package.json +1 -1
  108. data/tracks/ecmascript/exercises/trinary/package.json +1 -1
  109. data/tracks/ecmascript/exercises/twelve-days/package.json +1 -1
  110. data/tracks/ecmascript/exercises/two-bucket/package.json +1 -1
  111. data/tracks/ecmascript/exercises/two-fer/package.json +1 -1
  112. data/tracks/ecmascript/exercises/word-count/package.json +1 -1
  113. data/tracks/ecmascript/exercises/word-search/package.json +1 -1
  114. data/tracks/ecmascript/exercises/wordy/example.js +16 -4
  115. data/tracks/ecmascript/exercises/wordy/package.json +1 -1
  116. data/tracks/ecmascript/package.json +1 -1
  117. data/tracks/elisp/config/maintainers.json +6 -6
  118. data/tracks/elisp/config.json +103 -103
  119. data/tracks/elisp/exercises/two-fer/two-fer.el +3 -3
  120. data/tracks/elm/config/maintainers.json +11 -11
  121. data/tracks/elm/config.json +171 -171
  122. data/tracks/erlang/README.md +31 -28
  123. data/tracks/erlang/config/maintainers.json +13 -7
  124. data/tracks/erlang/config.json +99 -190
  125. data/tracks/factor/config/maintainers.json +5 -5
  126. data/tracks/factor/config.json +17 -19
  127. data/tracks/fsharp/config/maintainers.json +16 -16
  128. data/tracks/fsharp/config.json +485 -469
  129. data/tracks/gnu-apl/config/maintainers.json +6 -5
  130. data/tracks/gnu-apl/config.json +46 -20
  131. data/tracks/go/config/maintainers.json +43 -32
  132. data/tracks/go/config.json +475 -457
  133. data/tracks/haskell/config/maintainers.json +26 -15
  134. data/tracks/haskell/config.json +22 -2
  135. data/tracks/idris/config/maintainers.json +6 -6
  136. data/tracks/idris/config.json +24 -35
  137. data/tracks/java/config/maintainers.json +39 -29
  138. data/tracks/java/config.json +458 -433
  139. data/tracks/javascript/config/maintainers.json +40 -40
  140. data/tracks/javascript/config.json +577 -551
  141. data/tracks/javascript/docs/LEARNING.md +1 -1
  142. data/tracks/javascript/exercises/pangram/pangram.spec.js +15 -10
  143. data/tracks/julia/REQUIRE +1 -0
  144. data/tracks/julia/config/maintainers.json +5 -5
  145. data/tracks/julia/config.json +106 -108
  146. data/tracks/kotlin/config/maintainers.json +15 -15
  147. data/tracks/kotlin/config.json +273 -257
  148. data/tracks/kotlin/exercises/accumulate/build.gradle +1 -1
  149. data/tracks/kotlin/exercises/acronym/build.gradle +1 -1
  150. data/tracks/kotlin/exercises/all-your-base/build.gradle +1 -1
  151. data/tracks/kotlin/exercises/allergies/.meta/version +1 -1
  152. data/tracks/kotlin/exercises/allergies/build.gradle +1 -1
  153. data/tracks/kotlin/exercises/anagram/build.gradle +1 -1
  154. data/tracks/kotlin/exercises/atbash-cipher/build.gradle +1 -1
  155. data/tracks/kotlin/exercises/bank-account/build.gradle +17 -17
  156. data/tracks/kotlin/exercises/beer-song/.meta/version +1 -1
  157. data/tracks/kotlin/exercises/beer-song/build.gradle +1 -1
  158. data/tracks/kotlin/exercises/binary/build.gradle +1 -1
  159. data/tracks/kotlin/exercises/binary-search/build.gradle +1 -2
  160. data/tracks/kotlin/exercises/bob/build.gradle +1 -1
  161. data/tracks/kotlin/exercises/bracket-push/build.gradle +1 -1
  162. data/tracks/kotlin/exercises/change/.meta/version +1 -1
  163. data/tracks/kotlin/exercises/change/build.gradle +1 -2
  164. data/tracks/kotlin/exercises/clock/build.gradle +1 -1
  165. data/tracks/kotlin/exercises/collatz-conjecture/build.gradle +1 -1
  166. data/tracks/kotlin/exercises/complex-numbers/build.gradle +1 -1
  167. data/tracks/kotlin/exercises/diamond/build.gradle +1 -1
  168. data/tracks/kotlin/exercises/difference-of-squares/build.gradle +1 -1
  169. data/tracks/kotlin/exercises/etl/build.gradle +1 -1
  170. data/tracks/kotlin/exercises/flatten-array/build.gradle +1 -1
  171. data/tracks/kotlin/exercises/forth/build.gradle +1 -1
  172. data/tracks/kotlin/exercises/gigasecond/build.gradle +1 -1
  173. data/tracks/kotlin/exercises/grade-school/build.gradle +1 -1
  174. data/tracks/kotlin/exercises/grains/build.gradle +1 -1
  175. data/tracks/kotlin/exercises/hamming/build.gradle +1 -1
  176. data/tracks/kotlin/exercises/hello-world/build.gradle +1 -1
  177. data/tracks/kotlin/exercises/hexadecimal/build.gradle +1 -1
  178. data/tracks/kotlin/exercises/isogram/build.gradle +1 -1
  179. data/tracks/kotlin/exercises/largest-series-product/build.gradle +1 -1
  180. data/tracks/kotlin/exercises/leap/.meta/version +1 -1
  181. data/tracks/kotlin/exercises/leap/build.gradle +1 -1
  182. data/tracks/kotlin/exercises/linked-list/build.gradle +1 -1
  183. data/tracks/kotlin/exercises/list-ops/build.gradle +1 -1
  184. data/tracks/kotlin/exercises/luhn/build.gradle +1 -1
  185. data/tracks/kotlin/exercises/meetup/.meta/version +1 -1
  186. data/tracks/kotlin/exercises/meetup/build.gradle +1 -1
  187. data/tracks/kotlin/exercises/minesweeper/build.gradle +1 -1
  188. data/tracks/kotlin/exercises/nth-prime/build.gradle +1 -1
  189. data/tracks/kotlin/exercises/nucleotide-count/build.gradle +1 -1
  190. data/tracks/kotlin/exercises/pangram/build.gradle +1 -1
  191. data/tracks/kotlin/exercises/pascals-triangle/.meta/version +1 -1
  192. data/tracks/kotlin/exercises/pascals-triangle/build.gradle +1 -1
  193. data/tracks/kotlin/exercises/perfect-numbers/build.gradle +1 -1
  194. data/tracks/kotlin/exercises/phone-number/build.gradle +1 -1
  195. data/tracks/kotlin/exercises/pig-latin/build.gradle +1 -1
  196. data/tracks/kotlin/exercises/prime-factors/build.gradle +1 -1
  197. data/tracks/kotlin/exercises/raindrops/build.gradle +1 -1
  198. data/tracks/kotlin/exercises/react/build.gradle +1 -1
  199. data/tracks/kotlin/exercises/rna-transcription/build.gradle +1 -1
  200. data/tracks/kotlin/exercises/robot-name/build.gradle +1 -1
  201. data/tracks/kotlin/exercises/robot-simulator/build.gradle +1 -1
  202. data/tracks/kotlin/exercises/roman-numerals/build.gradle +1 -1
  203. data/tracks/kotlin/exercises/rotational-cipher/.meta/version +1 -1
  204. data/tracks/kotlin/exercises/rotational-cipher/build.gradle +1 -1
  205. data/tracks/kotlin/exercises/saddle-points/build.gradle +1 -1
  206. data/tracks/kotlin/exercises/say/.meta/version +1 -1
  207. data/tracks/kotlin/exercises/say/build.gradle +1 -1
  208. data/tracks/kotlin/exercises/scrabble-score/build.gradle +1 -1
  209. data/tracks/kotlin/exercises/secret-handshake/build.gradle +1 -1
  210. data/tracks/kotlin/exercises/series/build.gradle +1 -1
  211. data/tracks/kotlin/exercises/sieve/build.gradle +1 -1
  212. data/tracks/kotlin/exercises/simple-cipher/build.gradle +1 -1
  213. data/tracks/kotlin/exercises/space-age/build.gradle +1 -1
  214. data/tracks/kotlin/exercises/spiral-matrix/build.gradle +1 -1
  215. data/tracks/kotlin/exercises/strain/build.gradle +1 -1
  216. data/tracks/kotlin/exercises/sublist/.meta/version +1 -1
  217. data/tracks/kotlin/exercises/sublist/build.gradle +1 -1
  218. data/tracks/kotlin/exercises/sum-of-multiples/build.gradle +15 -16
  219. data/tracks/kotlin/exercises/triangle/build.gradle +15 -16
  220. data/tracks/kotlin/exercises/two-fer/build.gradle +1 -1
  221. data/tracks/kotlin/exercises/word-count/build.gradle +1 -1
  222. data/tracks/lfe/config/maintainers.json +6 -6
  223. data/tracks/lfe/config.json +128 -125
  224. data/tracks/lfe/docs/LEARNING.md +1 -1
  225. data/tracks/lua/config/maintainers.json +16 -16
  226. data/tracks/lua/config.json +331 -327
  227. data/tracks/mips/config/maintainers.json +5 -5
  228. data/tracks/mips/config.json +29 -59
  229. data/tracks/nim/config/maintainers.json +8 -8
  230. data/tracks/nim/config.json +185 -127
  231. data/tracks/nim/exercises/allergies/allergies_test.nim +7 -7
  232. data/tracks/nim/exercises/allergies/example.nim +2 -2
  233. data/tracks/nim/exercises/difference-of-squares/difference_of_squares_test.nim +4 -4
  234. data/tracks/nim/exercises/difference-of-squares/example.nim +3 -3
  235. data/tracks/nim/exercises/gigasecond/example.nim +1 -1
  236. data/tracks/nim/exercises/gigasecond/gigasecond_test.nim +5 -5
  237. data/tracks/nim/exercises/nucleotide-count/example.nim +1 -1
  238. data/tracks/nim/exercises/nucleotide-count/nucleotide_count_test.nim +6 -6
  239. data/tracks/nim/exercises/pangram/example.nim +1 -1
  240. data/tracks/nim/exercises/pangram/pangram_test.nim +11 -11
  241. data/tracks/nim/exercises/triangle/example.nim +4 -4
  242. data/tracks/nim/exercises/triangle/triangle_test.nim +14 -14
  243. data/tracks/nim/exercises/word-count/HINT.md +8 -0
  244. data/tracks/nim/exercises/word-count/example.nim +8 -15
  245. data/tracks/nim/exercises/word-count/word_count_test.nim +63 -55
  246. data/tracks/perl6/Dockerfile +1 -1
  247. data/tracks/perl6/config/maintainers.json +8 -8
  248. data/tracks/perl6/config.json +72 -127
  249. data/tracks/powershell/.gitignore +2 -1
  250. data/tracks/powershell/config/maintainers.json +8 -8
  251. data/tracks/powershell/config.json +54 -37
  252. data/tracks/powershell/exercises/reverse-string/.version +1 -0
  253. data/tracks/powershell/exercises/reverse-string/README.md +13 -0
  254. data/tracks/powershell/exercises/reverse-string/ReverseString.example.ps1 +21 -0
  255. data/tracks/powershell/exercises/reverse-string/ReverseString.ps1 +9 -0
  256. data/tracks/powershell/exercises/reverse-string/ReverseString.tests.ps1 +21 -0
  257. data/tracks/powershell/exercises/sum-of-multiples/.version +1 -0
  258. data/tracks/powershell/exercises/sum-of-multiples/README.md +15 -0
  259. data/tracks/powershell/exercises/sum-of-multiples/SumOfMultiples.example.ps1 +20 -0
  260. data/tracks/powershell/exercises/sum-of-multiples/SumOfMultiples.ps1 +9 -0
  261. data/tracks/powershell/exercises/sum-of-multiples/SumOfMultiples.tests.ps1 +29 -0
  262. data/tracks/python/config/maintainers.json +17 -17
  263. data/tracks/python/config.json +331 -283
  264. data/tracks/python/exercises/diffie-hellman/diffie_hellman_test.py +16 -47
  265. data/tracks/r/config/maintainers.json +16 -16
  266. data/tracks/r/config.json +128 -117
  267. data/tracks/racket/config/maintainers.json +16 -16
  268. data/tracks/racket/config.json +106 -102
  269. data/tracks/reasonml/config/maintainers.json +1 -1
  270. data/tracks/reasonml/config.json +37 -23
  271. data/tracks/reasonml/exercises/bob/README.md +29 -0
  272. data/tracks/reasonml/exercises/bob/__tests__/Bob_test.re +103 -0
  273. data/tracks/reasonml/exercises/bob/bsconfig.json +30 -0
  274. data/tracks/reasonml/exercises/bob/package-lock.json +5855 -0
  275. data/tracks/reasonml/exercises/bob/package.json +20 -0
  276. data/tracks/reasonml/exercises/bob/src/Example.re +41 -0
  277. data/tracks/reasonml/exercises/hello-world/src/{HelloWorld.re → Example.re} +0 -0
  278. data/tracks/reasonml/exercises/leap/src/{Leap.re → Example.re} +0 -0
  279. data/tracks/reasonml/exercises/rna-transcription/__tests__/RnaTranscription_test.re +24 -0
  280. data/tracks/reasonml/exercises/rna-transcription/bsconfig.json +30 -0
  281. data/tracks/reasonml/exercises/rna-transcription/package.json +20 -0
  282. data/tracks/reasonml/exercises/rna-transcription/src/Example.re +14 -0
  283. data/tracks/reasonml/exercises/space-age/src/{Space_age.re → Example.re} +0 -0
  284. data/tracks/scala/config/maintainers.json +22 -10
  285. data/tracks/scala/config.json +362 -350
  286. data/tracks/scala/docs/ABOUT.md +7 -2
  287. data/tracks/scheme/config/maintainers.json +11 -11
  288. data/tracks/scheme/config.json +72 -72
  289. data/tracks/typescript/config/maintainers.json +15 -15
  290. data/tracks/typescript/config.json +382 -362
  291. data/tracks/vimscript/config/maintainers.json +11 -11
  292. data/tracks/vimscript/config.json +41 -89
  293. metadata +27 -5
@@ -1,213 +1,217 @@
1
1
  {
2
+ "language": "Racket",
2
3
  "active": true,
4
+ "blurb": "",
3
5
  "exercises": [
4
6
  {
7
+ "slug": "hello-world",
8
+ "uuid": "4fb471fc-4e6d-486d-abf5-939e89f028fc",
5
9
  "core": false,
10
+ "unlocked_by": null,
6
11
  "difficulty": 1,
7
- "slug": "hello-world",
8
12
  "topics": [
9
13
  "optional_values",
10
14
  "text_formatting"
11
- ],
12
- "unlocked_by": null,
13
- "uuid": "4fb471fc-4e6d-486d-abf5-939e89f028fc"
15
+ ]
14
16
  },
15
17
  {
16
- "core": false,
17
- "difficulty": 1,
18
18
  "slug": "grains",
19
- "topics": null,
19
+ "uuid": "b5b537d0-7c5d-45e5-af1d-b4da4f32514b",
20
+ "core": false,
20
21
  "unlocked_by": null,
21
- "uuid": "b5b537d0-7c5d-45e5-af1d-b4da4f32514b"
22
+ "difficulty": 1,
23
+ "topics": null
22
24
  },
23
25
  {
24
- "core": false,
25
- "difficulty": 1,
26
26
  "slug": "leap",
27
- "topics": null,
27
+ "uuid": "e84ac1ee-6e7e-40b4-826a-ed3d41890b83",
28
+ "core": false,
28
29
  "unlocked_by": null,
29
- "uuid": "e84ac1ee-6e7e-40b4-826a-ed3d41890b83"
30
+ "difficulty": 1,
31
+ "topics": null
30
32
  },
31
33
  {
32
- "core": false,
33
- "difficulty": 1,
34
34
  "slug": "difference-of-squares",
35
- "topics": null,
35
+ "uuid": "a3d9a2bb-a80a-487f-b529-64e20f7cf9b5",
36
+ "core": false,
36
37
  "unlocked_by": null,
37
- "uuid": "a3d9a2bb-a80a-487f-b529-64e20f7cf9b5"
38
+ "difficulty": 1,
39
+ "topics": null
38
40
  },
39
41
  {
40
- "core": false,
41
- "difficulty": 1,
42
42
  "slug": "perfect-numbers",
43
- "topics": null,
43
+ "uuid": "72b2c36b-fcd5-4c8c-89e7-98bf24faaa3e",
44
+ "core": false,
44
45
  "unlocked_by": null,
45
- "uuid": "72b2c36b-fcd5-4c8c-89e7-98bf24faaa3e"
46
+ "difficulty": 1,
47
+ "topics": null
46
48
  },
47
49
  {
48
- "core": false,
49
- "difficulty": 1,
50
50
  "slug": "gigasecond",
51
- "topics": null,
51
+ "uuid": "c7550977-bc29-47e9-9aeb-9e3ee34032b2",
52
+ "core": false,
52
53
  "unlocked_by": null,
53
- "uuid": "c7550977-bc29-47e9-9aeb-9e3ee34032b2"
54
+ "difficulty": 1,
55
+ "topics": null
54
56
  },
55
57
  {
56
- "core": false,
57
- "difficulty": 1,
58
58
  "slug": "bob",
59
- "topics": null,
59
+ "uuid": "3e5e67fa-991b-4120-abf0-6f10f9dfaca8",
60
+ "core": false,
60
61
  "unlocked_by": null,
61
- "uuid": "3e5e67fa-991b-4120-abf0-6f10f9dfaca8"
62
+ "difficulty": 1,
63
+ "topics": null
62
64
  },
63
65
  {
64
- "core": false,
65
- "difficulty": 1,
66
66
  "slug": "collatz-conjecture",
67
- "topics": null,
67
+ "uuid": "28102e69-dad0-4f3c-8cdf-5a18a73178a4",
68
+ "core": false,
68
69
  "unlocked_by": null,
69
- "uuid": "28102e69-dad0-4f3c-8cdf-5a18a73178a4"
70
+ "difficulty": 1,
71
+ "topics": null
70
72
  },
71
73
  {
72
- "core": false,
73
- "difficulty": 1,
74
74
  "slug": "hamming",
75
- "topics": null,
75
+ "uuid": "f0a6e55d-6702-4043-bdcf-2ed99bf60645",
76
+ "core": false,
76
77
  "unlocked_by": null,
77
- "uuid": "f0a6e55d-6702-4043-bdcf-2ed99bf60645"
78
+ "difficulty": 1,
79
+ "topics": null
78
80
  },
79
81
  {
80
- "core": false,
81
- "difficulty": 1,
82
82
  "slug": "scrabble-score",
83
- "topics": null,
83
+ "uuid": "74d67f30-1f31-4289-a9bc-1bf69ec54ae2",
84
+ "core": false,
84
85
  "unlocked_by": null,
85
- "uuid": "74d67f30-1f31-4289-a9bc-1bf69ec54ae2"
86
+ "difficulty": 1,
87
+ "topics": null
86
88
  },
87
89
  {
88
- "core": false,
89
- "difficulty": 1,
90
90
  "slug": "roman-numerals",
91
- "topics": null,
91
+ "uuid": "c5a747dc-f283-4cf6-8435-fde885f63089",
92
+ "core": false,
92
93
  "unlocked_by": null,
93
- "uuid": "c5a747dc-f283-4cf6-8435-fde885f63089"
94
+ "difficulty": 1,
95
+ "topics": null
94
96
  },
95
97
  {
98
+ "slug": "meetup",
99
+ "uuid": "72ac5f36-ec1b-465e-b359-1cc49efc262d",
96
100
  "core": false,
101
+ "unlocked_by": null,
97
102
  "difficulty": 1,
98
- "slug": "meetup",
99
103
  "topics": [
100
104
  "conditionals",
101
105
  "dates",
102
106
  "parsing",
103
107
  "pattern_recognition",
104
108
  "strings"
105
- ],
106
- "unlocked_by": null,
107
- "uuid": "72ac5f36-ec1b-465e-b359-1cc49efc262d"
109
+ ]
108
110
  },
109
111
  {
110
- "core": false,
111
- "difficulty": 1,
112
112
  "slug": "anagram",
113
- "topics": null,
113
+ "uuid": "67b41645-7a02-4c45-af55-86401db69eee",
114
+ "core": false,
114
115
  "unlocked_by": null,
115
- "uuid": "67b41645-7a02-4c45-af55-86401db69eee"
116
+ "difficulty": 1,
117
+ "topics": null
116
118
  },
117
119
  {
118
- "core": false,
119
- "difficulty": 1,
120
120
  "slug": "rna-transcription",
121
- "topics": null,
121
+ "uuid": "2936d930-2359-44ea-8342-656016d3ec79",
122
+ "core": false,
122
123
  "unlocked_by": null,
123
- "uuid": "2936d930-2359-44ea-8342-656016d3ec79"
124
+ "difficulty": 1,
125
+ "topics": null
124
126
  },
125
127
  {
126
- "core": false,
127
- "difficulty": 1,
128
128
  "slug": "etl",
129
- "topics": null,
129
+ "uuid": "7c1cdc16-30c8-460f-aa6a-cc0655436f22",
130
+ "core": false,
130
131
  "unlocked_by": null,
131
- "uuid": "7c1cdc16-30c8-460f-aa6a-cc0655436f22"
132
+ "difficulty": 1,
133
+ "topics": null
132
134
  },
133
135
  {
134
- "core": false,
135
- "difficulty": 1,
136
136
  "slug": "word-count",
137
- "topics": null,
137
+ "uuid": "b931f727-b5b1-4f42-9799-faca692dd32e",
138
+ "core": false,
138
139
  "unlocked_by": null,
139
- "uuid": "b931f727-b5b1-4f42-9799-faca692dd32e"
140
+ "difficulty": 1,
141
+ "topics": null
140
142
  },
141
143
  {
142
- "core": false,
143
- "difficulty": 1,
144
144
  "slug": "phone-number",
145
- "topics": null,
145
+ "uuid": "aad41852-c939-4168-89c8-ae873892c5f9",
146
+ "core": false,
146
147
  "unlocked_by": null,
147
- "uuid": "aad41852-c939-4168-89c8-ae873892c5f9"
148
+ "difficulty": 1,
149
+ "topics": null
148
150
  },
149
151
  {
150
- "core": false,
151
- "difficulty": 1,
152
152
  "slug": "nucleotide-count",
153
- "topics": null,
153
+ "uuid": "9fbd3939-f71a-4506-bcc3-e9940d4027ed",
154
+ "core": false,
154
155
  "unlocked_by": null,
155
- "uuid": "9fbd3939-f71a-4506-bcc3-e9940d4027ed"
156
+ "difficulty": 1,
157
+ "topics": null
156
158
  },
157
159
  {
158
- "core": false,
159
- "difficulty": 1,
160
160
  "slug": "raindrops",
161
- "topics": null,
161
+ "uuid": "9795a374-30ae-492b-bcd7-1648ea5264b7",
162
+ "core": false,
162
163
  "unlocked_by": null,
163
- "uuid": "9795a374-30ae-492b-bcd7-1648ea5264b7"
164
+ "difficulty": 1,
165
+ "topics": null
164
166
  },
165
167
  {
166
- "core": false,
167
- "difficulty": 1,
168
168
  "slug": "grep",
169
- "topics": null,
169
+ "uuid": "37ab62d8-deb3-4fa4-8016-0b22f3d2f66d",
170
+ "core": false,
170
171
  "unlocked_by": null,
171
- "uuid": "37ab62d8-deb3-4fa4-8016-0b22f3d2f66d"
172
+ "difficulty": 1,
173
+ "topics": null
172
174
  },
173
175
  {
174
- "core": false,
175
- "difficulty": 1,
176
176
  "slug": "say",
177
- "topics": null,
177
+ "uuid": "0f64407b-0f01-4c4c-b721-fefdb8f98d16",
178
+ "core": false,
178
179
  "unlocked_by": null,
179
- "uuid": "0f64407b-0f01-4c4c-b721-fefdb8f98d16"
180
+ "difficulty": 1,
181
+ "topics": null
180
182
  },
181
183
  {
182
- "core": false,
183
- "difficulty": 1,
184
184
  "slug": "allergies",
185
- "topics": null,
185
+ "uuid": "881f83d7-1c80-4045-9a3f-def45c8f5764",
186
+ "core": false,
186
187
  "unlocked_by": null,
187
- "uuid": "881f83d7-1c80-4045-9a3f-def45c8f5764"
188
+ "difficulty": 1,
189
+ "topics": null
188
190
  },
189
191
  {
190
- "core": false,
191
- "difficulty": 1,
192
192
  "slug": "list-ops",
193
- "topics": null,
193
+ "uuid": "874b53f5-d9ef-4fd9-be62-3fe16692e565",
194
+ "core": false,
194
195
  "unlocked_by": null,
195
- "uuid": "874b53f5-d9ef-4fd9-be62-3fe16692e565"
196
+ "difficulty": 1,
197
+ "topics": null
196
198
  },
197
199
  {
198
- "core": false,
199
- "difficulty": 1,
200
200
  "slug": "acronym",
201
- "topics": null,
201
+ "uuid": "daeb92dc-efea-4bea-b657-3383b1880e49",
202
+ "core": false,
202
203
  "unlocked_by": null,
203
- "uuid": "daeb92dc-efea-4bea-b657-3383b1880e49"
204
+ "difficulty": 1,
205
+ "topics": null
204
206
  },
205
207
  {
206
- "deprecated": true,
207
208
  "slug": "accumulate",
208
- "uuid": "b234225c-fcde-445f-9222-f80c25d0f499"
209
+ "uuid": "b234225c-fcde-445f-9222-f80c25d0f499",
210
+ "core": false,
211
+ "unlocked_by": null,
212
+ "difficulty": 0,
213
+ "topics": null,
214
+ "deprecated": true
209
215
  }
210
- ],
211
- "foregone": [],
212
- "language": "Racket"
213
- }
216
+ ]
217
+ }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "docs_url": "https://github.com/exercism/docs/blob/master/maintaining-a-track/maintainer-configuration.md",
3
3
  "maintainers": []
4
- }
4
+ }
@@ -2,45 +2,59 @@
2
2
  "track_id": "reasonml",
3
3
  "language": "ReasonML",
4
4
  "active": false,
5
+ "blurb": "",
5
6
  "ignore_pattern": "[Ee]xample",
6
7
  "solution_pattern": "[Ee]xample",
7
8
  "test_pattern": "[Tt]est",
8
- "foregone": [],
9
9
  "exercises": [
10
10
  {
11
- "core": false,
12
- "difficulty": 1,
13
11
  "slug": "hello-world",
14
- "topics": [
15
- "setting_up_reasonml_dev_environment",
16
- "strings"
17
- ],
12
+ "uuid": "63d72b81-c7a4-4a94-8224-69f4c68cc374",
13
+ "core": false,
18
14
  "unlocked_by": null,
19
- "uuid": "63d72b81-c7a4-4a94-8224-69f4c68cc374"
15
+ "difficulty": 1,
16
+ "topics": ["setting_up_reasonml_dev_environment", "strings"]
20
17
  },
21
18
  {
19
+ "slug": "leap",
20
+ "uuid": "94d63245-0c40-40e4-952f-83ee4ef87b33",
22
21
  "core": false,
22
+ "unlocked_by": null,
23
23
  "difficulty": 1,
24
- "slug": "leap",
25
- "topics": [
26
- "booleans",
27
- "integers"
28
- ],
24
+ "topics": ["booleans", "integers"]
25
+ },
26
+ {
27
+ "slug": "space-age",
28
+ "uuid": "9e8b7922-fd95-4797-af1b-736a6179821d",
29
+ "core": false,
29
30
  "unlocked_by": null,
30
- "uuid": "94d63245-0c40-40e4-952f-83ee4ef87b33"
31
+ "difficulty": 2,
32
+ "topics": ["enum_types", "floating_point_arithmetic", "fun_expressions"]
31
33
  },
32
34
  {
35
+ "slug": "bob",
36
+ "uuid": "88a4ce55-2c79-416c-930d-9e8923e16e45",
33
37
  "core": false,
38
+ "unlocked_by": null,
34
39
  "difficulty": 2,
35
- "slug": "space-age",
36
40
  "topics": [
37
- "floating point arithmetic",
38
- "enum types",
39
- "fun expressions"
40
- ],
41
+ "control_flow_conditionals",
42
+ "pattern_recognition",
43
+ "regular_expressions",
44
+ "strings"
45
+ ]
46
+ },
47
+ {
48
+ "slug": "rna-transcription",
49
+ "uuid": "9690c216-d999-4b44-b73c-b7a8d776cf5d",
50
+ "core": false,
41
51
  "unlocked_by": null,
42
- "uuid": "9e8b7922-fd95-4797-af1b-736a6179821d"
52
+ "difficulty": 2,
53
+ "topics": [
54
+ "lists",
55
+ "list map function",
56
+ "variants"
57
+ ]
43
58
  }
44
- ],
45
- "deprecated": []
46
- }
59
+ ]
60
+ }
@@ -0,0 +1,29 @@
1
+ # Bob
2
+
3
+ Bob is a lackadaisical teenager. In conversation, his responses are very limited.
4
+
5
+ Bob answers 'Sure.' if you ask him a question.
6
+
7
+ He answers 'Whoa, chill out!' if you yell at him.
8
+
9
+ He answers 'Calm down, I know what I'm doing!' if you yell a question at him.
10
+
11
+ He says 'Fine. Be that way!' if you address him without actually saying
12
+ anything.
13
+
14
+ He answers 'Whatever.' to anything else.
15
+
16
+ # Build
17
+ ```
18
+ npm run build
19
+ ```
20
+
21
+ # Build + Watch
22
+
23
+ ```
24
+ npm run start
25
+ ```
26
+
27
+
28
+ # Editor
29
+ If you use `vscode`, Press `Windows + Shift + B` it will build automatically
@@ -0,0 +1,103 @@
1
+ open Jest;
2
+
3
+ open Expect;
4
+
5
+ let character = (cstart: int, cend: int) : char =>
6
+ Random.int(cend - cstart) + cstart |> Char.chr;
7
+
8
+ let anyCharacter = () : char => character(32, 126);
9
+
10
+ let uppercaseCharacter = () : char => character(65, 90);
11
+
12
+ let uppercaseGibberish = (length: int) : string =>
13
+ String.init(length, _ => uppercaseCharacter());
14
+
15
+ let gibberishQuestion = (length: int) : string =>
16
+ String.init(length, _ => anyCharacter()) ++ "?";
17
+
18
+ let () =
19
+ describe("Bob", () => {
20
+ test("stating something", () =>
21
+ expect(Bob.hey("Tom-ay-to, tom-aaaah-to.")) |> toEqual("Whatever.")
22
+ );
23
+ test("shouting", () =>
24
+ expect(Bob.hey("WATCH OUT!")) |> toEqual("Whoa, chill out!")
25
+ );
26
+ test("shouting gibberish", () =>
27
+ expect(Bob.hey(uppercaseGibberish(10)))
28
+ |> toEqual("Whoa, chill out!")
29
+ );
30
+ test("asking a question", () =>
31
+ expect(Bob.hey("Does this cryogenic chamber make me look fat?"))
32
+ |> toEqual("Sure.")
33
+ );
34
+ test("asking a numeric question", () =>
35
+ expect(Bob.hey("You are, what, like 15?")) |> toEqual("Sure.")
36
+ );
37
+ test("asking gibberish", () =>
38
+ expect(Bob.hey(gibberishQuestion(20))) |> toEqual("Sure.")
39
+ );
40
+ test("talking forcefully", () =>
41
+ expect(Bob.hey("Let's go make out behind the gym!"))
42
+ |> toEqual("Whatever.")
43
+ );
44
+ test("using acronyms in regular speech", () =>
45
+ expect(Bob.hey("It's OK if you don't want to go to the DMV."))
46
+ |> toEqual("Whatever.")
47
+ );
48
+ test("forceful question", () =>
49
+ expect(Bob.hey("WHAT THE HELL WERE YOU THINKING?")) |> toEqual("Calm down, I know what I'm doing!")
50
+ );
51
+ test("shouting numbers", () =>
52
+ expect(Bob.hey("1, 2, 3 GO!")) |> toEqual("Whoa, chill out!")
53
+ );
54
+ test("only numbers", () =>
55
+ expect(Bob.hey("1, 2, 3")) |> toEqual("Whatever.")
56
+ );
57
+ test("question with only numbers", () =>
58
+ expect(Bob.hey("4?")) |> toEqual("Sure.")
59
+ );
60
+ test("shouting with special characters", () =>
61
+ expect(Bob.hey("ZOMG THE %^*@#$(*^ ZOMBIES ARE COMING!!11!!1!"))
62
+ |> toEqual("Whoa, chill out!")
63
+ );
64
+ test("shouting with no exclamation mark", () =>
65
+ expect(Bob.hey("I HATE YOU")) |> toEqual("Whoa, chill out!")
66
+ );
67
+ test("statement containing question mark", () =>
68
+ expect(Bob.hey("Ending with a ? means a question."))
69
+ |> toEqual("Whatever.")
70
+ );
71
+ test("prattling on", () =>
72
+ expect(Bob.hey("Wait! Hang on. Are you going to be OK?"))
73
+ |> toEqual("Sure.")
74
+ );
75
+ test("silence", () =>
76
+ expect(Bob.hey("")) |> toEqual("Fine. Be that way!")
77
+ );
78
+ test("prolonged silence", () =>
79
+ expect(Bob.hey(" ")) |> toEqual("Fine. Be that way!")
80
+ );
81
+ test("alternate silence", () =>
82
+ expect(Bob.hey("\t\t\t\t\t\t\t\t\t\t"))
83
+ |> toEqual("Fine. Be that way!")
84
+ );
85
+ test("on multiple line question", () =>
86
+ expect(Bob.hey("\nDoes this cryogenic chamber make me look fat?\nno"))
87
+ |> toEqual("Whatever.")
88
+ );
89
+ test("starting with whitespace", () =>
90
+ expect(Bob.hey(" hmmmmmmm...")) |> toEqual("Whatever.")
91
+ );
92
+ test("ending with whitepace", () =>
93
+ expect(Bob.hey("Okay if like press my spacebar quite a bit? "))
94
+ |> toEqual("Sure.")
95
+ );
96
+ test("other whitespace", () =>
97
+ expect(Bob.hey("\n\r \t")) |> toEqual("Fine. Be that way!")
98
+ );
99
+ test("non-question ending with whitespace", () =>
100
+ expect(Bob.hey("This is a statement ending with whitespace "))
101
+ |> toEqual("Whatever.")
102
+ );
103
+ });
@@ -0,0 +1,30 @@
1
+ // This is the configuration file used by BuckleScript's build system bsb. Its documentation lives here: http://bucklescript.github.io/bucklescript/docson/#build-schema.json
2
+ // BuckleScript comes with its own parser for bsconfig.json, which is normal JSON, with the extra support of comments and trailing commas.
3
+ {
4
+ "name": "bob",
5
+ "version": "0.1.0",
6
+ "sources": [
7
+ {
8
+ "dir": "src",
9
+ "subdirs": true
10
+ },
11
+ {
12
+ "dir": "__tests__",
13
+ "type": "dev"
14
+ }
15
+ ],
16
+ "package-specs": {
17
+ "module": "commonjs",
18
+ "in-source": true
19
+ },
20
+ "suffix": ".bs.js",
21
+ "bs-dependencies": [
22
+ // add your dependencies here. You'd usually install them normally through `npm install my-dependency`. If my-dependency has a bsconfig.json too, then everything will work seamlessly.
23
+ ],
24
+ "bs-dev-dependencies": ["@glennsl/bs-jest"],
25
+ "warnings": {
26
+ "error": "+101"
27
+ },
28
+ "namespace": true,
29
+ "refmt": 3
30
+ }