Commit graph

61 commits

Author SHA1 Message Date
Erik Simmler
54e3017815 Update to elm-test 2.0 (#96)
* Update exercises to elm-test 2.0

* Update docs to mention `elm-test` again

* Update .travis.yml to the correct version of elm-test

* Conform to the `<| \() ->` convention
2016-08-17 07:14:17 -04:00
Louis Pilfold
4999d42ab5 Use a type to express triagles instead of strings (#97)
Use a type to express triangles instead of strings
2016-08-15 20:16:34 -04:00
Arnau Siches
e3fc6ea2de
Add direction tests for foldl and foldr in list-ops 2016-08-12 06:29:28 +01:00
Trevor Bramble
7ed9f04790 Replace a word in one of the guiding comments for clarity 2016-07-19 23:37:43 -07:00
rebelwarrior
af4de07a42 adds roman-numerals exercise 2016-07-18 10:17:37 -04:00
Erik Simmler
91aaf056a1 Run pre Elm 0.17 exercises through elm-format version 0.3.0-alpha 2016-06-19 17:50:39 -04:00
Erik Simmler
0cddb22ca4 Add largest-series-product exercise 2016-06-19 17:42:27 -04:00
Erik Simmler
550b9e1f87 Add say exercise 2016-06-19 17:41:37 -04:00
Erik Simmler
72a56f6e12 Add atbash-cipher exercise 2016-06-19 17:37:52 -04:00
Erik Simmler
233e7f0d4d Add a type signature for the wordCount function
Since the test converts wordCount’s output with Dict.toList, the required type may not be immediately apparent to an early learner.
2016-06-18 14:39:47 -04:00
Brian Dukes
3c2e561b4b Add new Pangram tests
Fixes #79
2016-06-16 20:31:54 -05:00
Erik Simmler
161e9a96d4 Merge pull request #78 from Janiczek/patch-2
Update Pangram exercise for 0.17
2016-05-19 12:20:25 -04:00
Martin Janiczek
7de1f4a717 Update Pangram exercise for 0.17
Module declaration syntax changed between the versions.
2016-05-18 23:42:39 +02:00
Martin Janiczek
a3ba88ded9 Update Bob exercise for 0.17
Module declaration syntax changed between the versions.
2016-05-18 13:44:03 +02:00
Erik Simmler
7435bd9e7f Back off a large list comparisons in lieu of a fix for https://github.com/elm-lang/core/issues/601 2016-05-13 18:23:31 -04:00
Erik Simmler
cb3e064605 Add test running wrappers 2016-05-13 17:41:34 -04:00
Erik Simmler
7ddb1b57c6 Update elm-package.json and .elm files to support Elm 0.17 2016-05-12 22:50:29 -04:00
Rider Sargent
8b6376f598 Fixed order of parameters for Hamming exercise's tests. 2016-04-25 11:19:43 +01:00
Jonathan Shih
74eeb7160e Fix typo 2016-04-18 06:52:26 -07:00
Jonathan Shih
43aeba836a Add list-ops exercise 2016-04-18 05:17:26 -07:00
Norbert Melzer
d685e79fc7 Makes the testsuite more faulttolerant
There seems to be a bug in elm (elm-lang/core#403) which makes equality
checks fail when the should succeed.

FIX #67
2016-04-18 01:20:56 +02:00
Erik Simmler
5be616b3ab Merge pull request #65 from lukewestby/sublist-updates
refactor sublist 🎉
2016-04-13 21:01:37 -04:00
Luke Westby
95909b08a1 add version, remove type from starting file 2016-04-12 13:54:11 -07:00
Lew Parker
1dfc360a83 Merge pull request #55 from tgecho/series
Add series exercise
2016-04-12 12:43:57 -06:00
Luke Westby
84759bd46e refactor sublist 2016-04-09 20:15:51 -07:00
Luke Westby
0b9ffd8ca1 refactor nucleotide-count 2016-04-09 19:48:05 -07:00
Erik Simmler
2325e7d6ef Add series exercise 2016-04-07 20:30:57 -04:00
Erik Simmler
46782f1552 Add robot-simulator exercise 2016-04-07 20:07:45 -04:00
Lew Parker
03be35553d Merge pull request #56 from tgecho/run-length-encoding-property-tests
Add additional test cases (including a property based test!) to run-length-encoding
2016-04-07 13:12:47 -06:00
Lew Parker
d50ce07e6e Merge pull request #54 from tgecho/allergies
Add allergies exercise
2016-04-07 12:54:45 -06:00
Erik Simmler
5404824261 Add allergies exercise 2016-04-05 20:18:51 -04:00
David Acevedo
1065c8b797 Fixes typo from "Hamming" to "Word Count" 2016-04-03 16:45:24 -04:00
Erik Simmler
b31100f73c Add additional test cases (including a property based test!) to run-length-encoding 2016-03-27 15:57:29 -04:00
Erik Simmler
9b7f15a52a Add/increment nucleotide-count test version 2016-03-26 14:34:31 -04:00
Erik Simmler
a8eca4050e Convert nucleotide-counts to use a record rather than a List (Char, Int) 2016-03-23 20:18:25 -04:00
Lew Parker
5a8aa5e7de Changes to exercises after an elm-format 2016-03-19 12:43:27 -06:00
Erik Simmler
654a5b83bf Revise strain exercise… the description forbids using filter! 2016-03-19 13:49:19 -04:00
Erik Simmler
c4e8aea66a Clarify the space-age test requirements 2016-03-19 13:49:19 -04:00
Erik Simmler
90e7d88374 Revise phone-number to use Maybe 2016-03-19 13:49:19 -04:00
Erik Simmler
6b79102bac Revise grade-school to match up with the exercise description 2016-03-19 13:49:19 -04:00
Erik Simmler
3b6ba9da5a Revise accumulate example (the directions specifically forbid using map!) 2016-03-17 20:21:56 -04:00
Erik Simmler
6e036afc7d Run elm-format over cherry picked exercises 2016-03-17 20:21:55 -04:00
Erik Simmler
5b8970a2db Align cherry picked exercises with the new test format 2016-03-17 20:21:55 -04:00
Erik Simmler
5bbeef5242 Align cherry picked exercises with the new directory structure 2016-03-17 20:21:55 -04:00
Lew Parker
12643ede7e Style updates for Bob 2016-03-15 12:25:14 -06:00
Lew Parker
a082e0ffd9 Merge pull request #31 from tgecho/exercises
A big pile of exercises
2016-03-14 07:14:24 -06:00
Erik Simmler
eed2e19e56 Add triangle exercise (closes #30) 2016-03-14 08:49:07 -04:00
Erik Simmler
14cf73ed94 Add raindrops exercise (closes #11) 2016-03-14 08:48:57 -04:00
Erik Simmler
e5d8f76941 Add anagram exercise (closes #28) 2016-03-14 08:48:57 -04:00
Erik Simmler
bf41b24bf4 Add difference-of-squares exercise (closes #27) 2016-03-14 08:48:57 -04:00