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,352 +1,352 @@
1
1
  {
2
+ "language": "Elm",
2
3
  "active": true,
4
+ "blurb": "",
3
5
  "exercises": [
4
6
  {
5
- "core": false,
6
- "difficulty": 1,
7
7
  "slug": "hello-world",
8
- "topics": null,
8
+ "uuid": "2c3902df-93e1-48d1-829d-4daa93a1f06f",
9
+ "core": false,
9
10
  "unlocked_by": null,
10
- "uuid": "2c3902df-93e1-48d1-829d-4daa93a1f06f"
11
+ "difficulty": 1,
12
+ "topics": null
11
13
  },
12
14
  {
13
- "core": false,
14
- "difficulty": 1,
15
15
  "slug": "bob",
16
- "topics": null,
16
+ "uuid": "11ce2a73-3f43-4b14-b755-6c52dc71bdda",
17
+ "core": false,
17
18
  "unlocked_by": null,
18
- "uuid": "11ce2a73-3f43-4b14-b755-6c52dc71bdda"
19
+ "difficulty": 1,
20
+ "topics": null
19
21
  },
20
22
  {
21
- "core": false,
22
- "difficulty": 1,
23
23
  "slug": "twelve-days",
24
- "topics": null,
24
+ "uuid": "50770287-c734-46ba-b3a1-c36d31b6cc3c",
25
+ "core": false,
25
26
  "unlocked_by": null,
26
- "uuid": "50770287-c734-46ba-b3a1-c36d31b6cc3c"
27
+ "difficulty": 1,
28
+ "topics": null
27
29
  },
28
30
  {
29
- "core": false,
30
- "difficulty": 1,
31
31
  "slug": "leap",
32
- "topics": null,
32
+ "uuid": "e943e3bf-920e-4541-95c3-be7bf6024afe",
33
+ "core": false,
33
34
  "unlocked_by": null,
34
- "uuid": "e943e3bf-920e-4541-95c3-be7bf6024afe"
35
+ "difficulty": 1,
36
+ "topics": null
35
37
  },
36
38
  {
37
- "core": false,
38
- "difficulty": 1,
39
39
  "slug": "raindrops",
40
- "topics": null,
40
+ "uuid": "e3e73171-c3d1-49f7-9511-d1f4a08e7a69",
41
+ "core": false,
41
42
  "unlocked_by": null,
42
- "uuid": "e3e73171-c3d1-49f7-9511-d1f4a08e7a69"
43
+ "difficulty": 1,
44
+ "topics": null
43
45
  },
44
46
  {
45
- "core": false,
46
- "difficulty": 1,
47
47
  "slug": "pangram",
48
- "topics": null,
48
+ "uuid": "a70503ba-f1f3-4583-9226-c3ada98e9500",
49
+ "core": false,
49
50
  "unlocked_by": null,
50
- "uuid": "a70503ba-f1f3-4583-9226-c3ada98e9500"
51
+ "difficulty": 1,
52
+ "topics": null
51
53
  },
52
54
  {
53
- "core": false,
54
- "difficulty": 1,
55
55
  "slug": "accumulate",
56
- "topics": null,
56
+ "uuid": "0b4561f3-59a7-4463-a733-c7fa8f9f332a",
57
+ "core": false,
57
58
  "unlocked_by": null,
58
- "uuid": "0b4561f3-59a7-4463-a733-c7fa8f9f332a"
59
+ "difficulty": 1,
60
+ "topics": null
59
61
  },
60
62
  {
61
- "core": false,
62
- "difficulty": 1,
63
63
  "slug": "triangle",
64
- "topics": null,
64
+ "uuid": "767f6825-8736-4307-85c7-090a9a327fd9",
65
+ "core": false,
65
66
  "unlocked_by": null,
66
- "uuid": "767f6825-8736-4307-85c7-090a9a327fd9"
67
+ "difficulty": 1,
68
+ "topics": null
67
69
  },
68
70
  {
69
- "core": false,
70
- "difficulty": 1,
71
71
  "slug": "scrabble-score",
72
- "topics": null,
72
+ "uuid": "16ccc1fa-34b0-4a7e-b3cf-33a711e857ea",
73
+ "core": false,
73
74
  "unlocked_by": null,
74
- "uuid": "16ccc1fa-34b0-4a7e-b3cf-33a711e857ea"
75
+ "difficulty": 1,
76
+ "topics": null
75
77
  },
76
78
  {
77
- "core": false,
78
- "difficulty": 1,
79
79
  "slug": "anagram",
80
- "topics": null,
80
+ "uuid": "5845a108-d8b2-41dd-b371-cf9eff7a2230",
81
+ "core": false,
81
82
  "unlocked_by": null,
82
- "uuid": "5845a108-d8b2-41dd-b371-cf9eff7a2230"
83
+ "difficulty": 1,
84
+ "topics": null
83
85
  },
84
86
  {
85
- "core": false,
86
- "difficulty": 1,
87
87
  "slug": "space-age",
88
- "topics": null,
88
+ "uuid": "2ce5bcba-c708-4da0-ae11-4654b3e0d0a5",
89
+ "core": false,
89
90
  "unlocked_by": null,
90
- "uuid": "2ce5bcba-c708-4da0-ae11-4654b3e0d0a5"
91
+ "difficulty": 1,
92
+ "topics": null
91
93
  },
92
94
  {
93
- "core": false,
94
- "difficulty": 1,
95
95
  "slug": "strain",
96
- "topics": null,
96
+ "uuid": "992c5ed1-9127-42a4-b508-61c9487612c5",
97
+ "core": false,
97
98
  "unlocked_by": null,
98
- "uuid": "992c5ed1-9127-42a4-b508-61c9487612c5"
99
+ "difficulty": 1,
100
+ "topics": null
99
101
  },
100
102
  {
101
- "core": false,
102
- "difficulty": 1,
103
103
  "slug": "difference-of-squares",
104
- "topics": null,
104
+ "uuid": "646c7164-cfa4-42c3-9af5-2f672e6ec81e",
105
+ "core": false,
105
106
  "unlocked_by": null,
106
- "uuid": "646c7164-cfa4-42c3-9af5-2f672e6ec81e"
107
+ "difficulty": 1,
108
+ "topics": null
107
109
  },
108
110
  {
109
- "core": false,
110
- "difficulty": 1,
111
111
  "slug": "word-count",
112
- "topics": null,
112
+ "uuid": "9c9507a6-8187-4ce6-b0bc-b4765effb74c",
113
+ "core": false,
113
114
  "unlocked_by": null,
114
- "uuid": "9c9507a6-8187-4ce6-b0bc-b4765effb74c"
115
+ "difficulty": 1,
116
+ "topics": null
115
117
  },
116
118
  {
117
- "core": false,
118
- "difficulty": 1,
119
119
  "slug": "sum-of-multiples",
120
- "topics": null,
120
+ "uuid": "75859d00-8772-4471-97a7-d6fe432edc5e",
121
+ "core": false,
121
122
  "unlocked_by": null,
122
- "uuid": "75859d00-8772-4471-97a7-d6fe432edc5e"
123
+ "difficulty": 1,
124
+ "topics": null
123
125
  },
124
126
  {
125
- "core": false,
126
- "difficulty": 1,
127
127
  "slug": "hamming",
128
- "topics": null,
128
+ "uuid": "472c2e13-6608-4862-b884-a7e458e0bcdd",
129
+ "core": false,
129
130
  "unlocked_by": null,
130
- "uuid": "472c2e13-6608-4862-b884-a7e458e0bcdd"
131
+ "difficulty": 1,
132
+ "topics": null
131
133
  },
132
134
  {
133
- "core": false,
134
- "difficulty": 1,
135
135
  "slug": "rna-transcription",
136
- "topics": null,
136
+ "uuid": "3af96d19-87d7-4d8b-aecb-f63122815501",
137
+ "core": false,
137
138
  "unlocked_by": null,
138
- "uuid": "3af96d19-87d7-4d8b-aecb-f63122815501"
139
+ "difficulty": 1,
140
+ "topics": null
139
141
  },
140
142
  {
141
- "core": false,
142
- "difficulty": 1,
143
143
  "slug": "run-length-encoding",
144
- "topics": null,
144
+ "uuid": "0b2ac079-f7ed-4e90-a566-00c9fe0d5c88",
145
+ "core": false,
145
146
  "unlocked_by": null,
146
- "uuid": "0b2ac079-f7ed-4e90-a566-00c9fe0d5c88"
147
+ "difficulty": 1,
148
+ "topics": null
147
149
  },
148
150
  {
149
- "core": false,
150
- "difficulty": 1,
151
151
  "slug": "sublist",
152
- "topics": null,
152
+ "uuid": "8e1cb827-2fa9-46a4-ac50-7f8b3ba66809",
153
+ "core": false,
153
154
  "unlocked_by": null,
154
- "uuid": "8e1cb827-2fa9-46a4-ac50-7f8b3ba66809"
155
+ "difficulty": 1,
156
+ "topics": null
155
157
  },
156
158
  {
157
- "core": false,
158
- "difficulty": 1,
159
159
  "slug": "nucleotide-count",
160
- "topics": null,
160
+ "uuid": "c9e00708-3d18-4a0b-a3de-cae4d979a981",
161
+ "core": false,
161
162
  "unlocked_by": null,
162
- "uuid": "c9e00708-3d18-4a0b-a3de-cae4d979a981"
163
+ "difficulty": 1,
164
+ "topics": null
163
165
  },
164
166
  {
165
- "core": false,
166
- "difficulty": 1,
167
167
  "slug": "series",
168
- "topics": null,
168
+ "uuid": "1e17ed2b-57b4-4cad-a684-ce7070d5023b",
169
+ "core": false,
169
170
  "unlocked_by": null,
170
- "uuid": "1e17ed2b-57b4-4cad-a684-ce7070d5023b"
171
+ "difficulty": 1,
172
+ "topics": null
171
173
  },
172
174
  {
173
- "core": false,
174
- "difficulty": 1,
175
175
  "slug": "phone-number",
176
- "topics": null,
176
+ "uuid": "1071ec57-5527-4eb1-b297-77355ed64547",
177
+ "core": false,
177
178
  "unlocked_by": null,
178
- "uuid": "1071ec57-5527-4eb1-b297-77355ed64547"
179
+ "difficulty": 1,
180
+ "topics": null
179
181
  },
180
182
  {
181
- "core": false,
182
- "difficulty": 1,
183
183
  "slug": "grade-school",
184
- "topics": null,
184
+ "uuid": "c7749c5a-529e-4e46-8bdb-e33519f6d176",
185
+ "core": false,
185
186
  "unlocked_by": null,
186
- "uuid": "c7749c5a-529e-4e46-8bdb-e33519f6d176"
187
+ "difficulty": 1,
188
+ "topics": null
187
189
  },
188
190
  {
189
- "core": false,
190
- "difficulty": 1,
191
191
  "slug": "allergies",
192
- "topics": null,
192
+ "uuid": "29b5a28a-417a-4cee-ba6f-9dd942ceffaa",
193
+ "core": false,
193
194
  "unlocked_by": null,
194
- "uuid": "29b5a28a-417a-4cee-ba6f-9dd942ceffaa"
195
+ "difficulty": 1,
196
+ "topics": null
195
197
  },
196
198
  {
197
- "core": false,
198
- "difficulty": 1,
199
199
  "slug": "robot-simulator",
200
- "topics": null,
200
+ "uuid": "6b8f952e-94ea-4264-accf-cdb28b3b4529",
201
+ "core": false,
201
202
  "unlocked_by": null,
202
- "uuid": "6b8f952e-94ea-4264-accf-cdb28b3b4529"
203
+ "difficulty": 1,
204
+ "topics": null
203
205
  },
204
206
  {
205
- "core": false,
206
- "difficulty": 1,
207
207
  "slug": "list-ops",
208
- "topics": null,
208
+ "uuid": "114b5717-0d82-459e-90c4-f00d8b6beb5b",
209
+ "core": false,
209
210
  "unlocked_by": null,
210
- "uuid": "114b5717-0d82-459e-90c4-f00d8b6beb5b"
211
+ "difficulty": 1,
212
+ "topics": null
211
213
  },
212
214
  {
213
- "core": false,
214
- "difficulty": 1,
215
215
  "slug": "atbash-cipher",
216
- "topics": null,
216
+ "uuid": "8322872b-e020-4a9e-9206-015c0fdacb62",
217
+ "core": false,
217
218
  "unlocked_by": null,
218
- "uuid": "8322872b-e020-4a9e-9206-015c0fdacb62"
219
+ "difficulty": 1,
220
+ "topics": null
219
221
  },
220
222
  {
221
- "core": false,
222
- "difficulty": 1,
223
223
  "slug": "say",
224
- "topics": null,
224
+ "uuid": "ea41b90d-3ff5-43c0-94e5-6b436feb99e5",
225
+ "core": false,
225
226
  "unlocked_by": null,
226
- "uuid": "ea41b90d-3ff5-43c0-94e5-6b436feb99e5"
227
+ "difficulty": 1,
228
+ "topics": null
227
229
  },
228
230
  {
229
- "core": false,
230
- "difficulty": 1,
231
231
  "slug": "largest-series-product",
232
- "topics": null,
232
+ "uuid": "1902d726-5a62-475b-b7d3-7188a50e717f",
233
+ "core": false,
233
234
  "unlocked_by": null,
234
- "uuid": "1902d726-5a62-475b-b7d3-7188a50e717f"
235
+ "difficulty": 1,
236
+ "topics": null
235
237
  },
236
238
  {
237
- "core": false,
238
- "difficulty": 1,
239
239
  "slug": "roman-numerals",
240
- "topics": null,
240
+ "uuid": "c1461035-6abe-4f17-a818-7a3ac6642c18",
241
+ "core": false,
241
242
  "unlocked_by": null,
242
- "uuid": "c1461035-6abe-4f17-a818-7a3ac6642c18"
243
+ "difficulty": 1,
244
+ "topics": null
243
245
  },
244
246
  {
245
- "core": false,
246
- "difficulty": 1,
247
247
  "slug": "gigasecond",
248
- "topics": null,
248
+ "uuid": "5ddfed31-b787-48f9-b3bf-4a8d157d1c3d",
249
+ "core": false,
249
250
  "unlocked_by": null,
250
- "uuid": "5ddfed31-b787-48f9-b3bf-4a8d157d1c3d"
251
+ "difficulty": 1,
252
+ "topics": null
251
253
  },
252
254
  {
253
- "core": false,
254
- "difficulty": 1,
255
255
  "slug": "grains",
256
- "topics": null,
256
+ "uuid": "41518694-4293-49f6-8af5-1cdad84acf78",
257
+ "core": false,
257
258
  "unlocked_by": null,
258
- "uuid": "41518694-4293-49f6-8af5-1cdad84acf78"
259
+ "difficulty": 1,
260
+ "topics": null
259
261
  },
260
262
  {
261
- "core": false,
262
- "difficulty": 1,
263
263
  "slug": "etl",
264
- "topics": null,
264
+ "uuid": "1f39d315-324c-4e2f-bf48-ce8432836596",
265
+ "core": false,
265
266
  "unlocked_by": null,
266
- "uuid": "1f39d315-324c-4e2f-bf48-ce8432836596"
267
+ "difficulty": 1,
268
+ "topics": null
267
269
  },
268
270
  {
269
- "core": false,
270
- "difficulty": 1,
271
271
  "slug": "collatz-conjecture",
272
- "topics": null,
272
+ "uuid": "0edd5fa2-f1db-4572-9810-55a2c6729753",
273
+ "core": false,
273
274
  "unlocked_by": null,
274
- "uuid": "0edd5fa2-f1db-4572-9810-55a2c6729753"
275
+ "difficulty": 1,
276
+ "topics": null
275
277
  },
276
278
  {
277
- "core": false,
278
- "difficulty": 1,
279
279
  "slug": "acronym",
280
- "topics": null,
280
+ "uuid": "851ddd78-13a0-4d8f-adda-41abde670687",
281
+ "core": false,
281
282
  "unlocked_by": null,
282
- "uuid": "851ddd78-13a0-4d8f-adda-41abde670687"
283
+ "difficulty": 1,
284
+ "topics": null
283
285
  },
284
286
  {
285
- "core": false,
286
- "difficulty": 2,
287
287
  "slug": "all-your-base",
288
- "topics": null,
288
+ "uuid": "bdb8364b-d8b2-4d58-a824-1035cddedb42",
289
+ "core": false,
289
290
  "unlocked_by": null,
290
- "uuid": "bdb8364b-d8b2-4d58-a824-1035cddedb42"
291
+ "difficulty": 2,
292
+ "topics": null
291
293
  },
292
294
  {
295
+ "slug": "pascals-triangle",
296
+ "uuid": "b7e456d7-e383-4e03-9126-c9b57c1287e1",
293
297
  "core": false,
298
+ "unlocked_by": null,
294
299
  "difficulty": 4,
295
- "slug": "pascals-triangle",
296
300
  "topics": [
297
301
  "control_flow",
298
302
  "lists"
299
- ],
300
- "unlocked_by": null,
301
- "uuid": "b7e456d7-e383-4e03-9126-c9b57c1287e1"
303
+ ]
302
304
  },
303
305
  {
306
+ "slug": "isogram",
307
+ "uuid": "5f540090-061e-2f80-40a8-d9782700ed2efdf8965",
304
308
  "core": false,
309
+ "unlocked_by": null,
305
310
  "difficulty": 3,
306
- "slug": "isogram",
307
311
  "topics": [
308
312
  "lists"
309
- ],
310
- "unlocked_by": null,
311
- "uuid": "5f540090-061e-2f80-40a8-d9782700ed2efdf8965"
313
+ ]
312
314
  },
313
315
  {
314
- "core": false,
315
- "difficulty": 5,
316
316
  "slug": "luhn",
317
- "topics": null,
317
+ "uuid": "39464d44-1475-47c1-8f08-2aba9e6b2d85",
318
+ "core": false,
318
319
  "unlocked_by": null,
319
- "uuid": "39464d44-1475-47c1-8f08-2aba9e6b2d85"
320
+ "difficulty": 5,
321
+ "topics": null
320
322
  },
321
323
  {
322
- "core": false,
323
- "difficulty": 5,
324
324
  "slug": "transpose",
325
- "topics": null,
325
+ "uuid": "66fef1df-aa12-40eb-b572-7ea9b6a920ed",
326
+ "core": false,
326
327
  "unlocked_by": null,
327
- "uuid": "66fef1df-aa12-40eb-b572-7ea9b6a920ed"
328
+ "difficulty": 5,
329
+ "topics": null
328
330
  },
329
331
  {
330
- "core": false,
331
- "difficulty": 5,
332
332
  "slug": "bracket-push",
333
- "topics": null,
333
+ "uuid": "5b2f0983-6feb-4329-aff2-d822274a9882",
334
+ "core": false,
334
335
  "unlocked_by": null,
335
- "uuid": "5b2f0983-6feb-4329-aff2-d822274a9882"
336
+ "difficulty": 5,
337
+ "topics": null
336
338
  },
337
339
  {
340
+ "slug": "binary-search",
341
+ "uuid": "1F9FE5BC-8213-44FD-B7D1-5D4CC7F3A475",
338
342
  "core": false,
343
+ "unlocked_by": null,
339
344
  "difficulty": 7,
340
- "slug": "binary-search",
341
345
  "topics": [
342
346
  "algorithms",
343
347
  "arrays",
344
348
  "recursion"
345
- ],
346
- "unlocked_by": null,
347
- "uuid": "1F9FE5BC-8213-44FD-B7D1-5D4CC7F3A475"
349
+ ]
348
350
  }
349
- ],
350
- "foregone": [],
351
- "language": "Elm"
351
+ ]
352
352
  }
@@ -28,32 +28,32 @@ deprecated in the newest one.
28
28
 
29
29
  ### Implementing an exercise
30
30
 
31
- When there is a mention of slug-name it refers to the slug as used
32
- on exercism URLs, erlangified_slug_name does mean, that you have to
33
- replace dashes (`-`) in the slug by underscores (`_`) to make them
34
- compatible with erlang syntax.
35
-
36
- 1. Create a folder `exercises/<slug-name>`
37
- 2. Set up folder structure (`include`, `src`, and `test`).
38
- 3. Copy `rebar.conf`, `src/*.app.src`, and `include/exercism.hrl` from
39
- another exercise.
40
- 1. Find the line `{eunit_tests, [{application, <erlangified_slug_name>}]}`
41
- in `rebar.conf` and alter it to match the current exercise.
42
- 2. Rename `src/*.app.src` to `src/<erlangified_slug_name>`.
43
- 3. Change the old erlangified_slug_name on the first line to the new one.
44
- 4. Change the old slug-name on the second line to the new one.
45
- 5. Leave `include/exercism.hrl` untouched.
46
- 4. Create a testfile/-module in `test`-folder. It is preferred to name
47
- it after the erlangified_slug_name and insert the boilerplate code
48
- shown below.
49
- 5. Implement your example in `src/example.erl` and use `example` as
50
- the name for the module.
51
- 6. Add tests. Make sure you are using the macro `?TESTED_MODULE` when
52
- referencing the students module.
53
- 7. Run tests using `rebar3 eunit`.
54
-
55
- Repeat steps 5., 6., and 7. until all tests are implemented and your
56
- solution passes all tests.
31
+ When there is a mention of "slug-name", it refers to the slug as used
32
+ on exercism URLs. In contrast, "erlangified_slug_name" is the slug-name
33
+ with all dashes (`-`) replaced by underscores (`_`) to make the name
34
+ compatible with Erlang syntax.
35
+
36
+ 1. Create a folder `exercises/<slug-name>`.
37
+ 2. Set up folder structure (`src`, and `test`).
38
+ 3. Copy `rebar.config` and `src/*.app.src` from another exercise.
39
+ 1. Leave `rebar.config` unchanged.
40
+ 1. Rename `src/*.app.src` to `src/<erlangified_slug_name>.app.src`.
41
+ 1. On the first line of this file change the old erlangified_slug_name to the new one.
42
+ 1. On the second line change the old slug-name to the new one.
43
+ 4. In the `src`-folder, create two files: `example.erl` and `<erlangified_slug_name>.erl`.
44
+ The first is for your example solution, the second is the 'empty' solution to give
45
+ students a place to start.
46
+ You might take the files from another exercise as your starting point.
47
+ Ensure their module names match their (new) file names.
48
+ 5. In the `test`-folder, create one file: `<erlangified_slug_name>_tests.erl`
49
+ and insert the boilerplate code shown below.
50
+ This file is for the test cases.
51
+ 6. Implement/correct your solution in `src/example.erl`.
52
+ 7. Add tests to `<erlangified_slug_name>_tests.erl`.
53
+ 8. Run tests using `rebar3 eunit`.
54
+
55
+ Repeat steps 6, 7, and 8 until all tests are implemented and your
56
+ example solution passes them all.
57
57
 
58
58
  If there is a `exercises/<slug-name>/canonical-data.json`
59
59
  in [problem-specifications](https://github.com/exercism/problem-specifications), make sure to
@@ -75,13 +75,16 @@ students if the exercise becomes tricky or might not be obvious.
75
75
  -include("exercism.hrl").
76
76
  ```
77
77
 
78
+ You will need to add entry for the exercise in the track's `config.json` file,
79
+ which you will find in the respository's root directory (two levels up).
80
+ For details see [Exercise configuration](https://github.com/exercism/docs/blob/master/language-tracks/configuration/exercises.md).
81
+
78
82
  ### Before pushing
79
83
 
80
84
  Please make sure, that all tests pass by running
81
85
  `_test/check-exercises.escript`. On windows you might need to call
82
- `escript _test/check-exercises.escript`. Also a run of `bin/configlet`
86
+ `escript _test/check-exercises.escript`. Also a run of `bin/configlet lint`
83
87
  should pass without error message.
84
88
 
85
89
  Both programs will be run on Travis and a merge is unlikely when
86
90
  tests fail.
87
-
@@ -1,29 +1,35 @@
1
1
  {
2
+ "docs_url": "",
2
3
  "maintainers": [
3
4
  {
4
5
  "github_username": "xymbol",
5
- "show_on_website": false,
6
6
  "alumnus": false,
7
+ "show_on_website": false,
7
8
  "name": null,
8
- "bio": null,
9
9
  "link_text": null,
10
10
  "link_url": null,
11
- "avatar_url": null
11
+ "avatar_url": null,
12
+ "bio": null
12
13
  },
13
14
  {
14
15
  "github_username": "etrepum",
16
+ "alumnus": true,
15
17
  "show_on_website": false,
16
- "alumnus": true
18
+ "name": null,
19
+ "link_text": null,
20
+ "link_url": null,
21
+ "avatar_url": null,
22
+ "bio": null
17
23
  },
18
24
  {
19
25
  "github_username": "NobbZ",
20
- "show_on_website": true,
21
26
  "alumnus": false,
27
+ "show_on_website": true,
22
28
  "name": "Norbert Melzer",
23
- "bio": "Found out about erlang via exercism, got hooked by its lightweight processes and how they are used as first class citizen. After fixing some trivial bugs in the track, I have been added to the team.",
24
29
  "link_text": null,
25
30
  "link_url": null,
26
- "avatar_url": null
31
+ "avatar_url": null,
32
+ "bio": "Found out about erlang via exercism, got hooked by its lightweight processes and how they are used as first class citizen. After fixing some trivial bugs in the track, I have been added to the team."
27
33
  }
28
34
  ]
29
35
  }