Commit Graph

629 Commits

Author SHA1 Message Date
Jay Hayes
3b1980b7d9 Merge pull request #160 from elixirkoans/travis_ci_elixir
Also test for Elixir 1.4.0
2017-01-22 10:01:34 -06:00
Felipe Sere
e213bf5902 Also test for Elixir 1.4.0 2017-01-22 15:31:54 +00:00
Jay Hayes
578d2cb62e Merge pull request #156 from leapingfrogs/master
Normalize the file before calling reload.
2017-01-21 18:20:26 -06:00
Felipe Seré
fbd003c68f Merge pull request #158 from iamvery/elixir-1-4-warnings
Fix Elixir 1 4 warnings
2017-01-21 14:28:30 +00:00
Jay Hayes
feda92c59b Bump exfswatch version to fix Elixir 1.4 warnings 2017-01-21 08:21:59 -06:00
Jay Hayes
77a53e7c13 Fix Elixir 1.4 function paren warnings 2017-01-21 08:18:10 -06:00
Ian Davies
5556c6bc94 Normalize the file before calling reload.
Fixing: https://github.com/elixirkoans/elixir-koans/issues/138

By normalizing first we remove the IntelliJ specific suffix if it is
present which allows the ".ex" extension to correctly match IntelliJ
edited files.
2017-01-18 22:00:02 -08:00
Jay Hayes
308a8eb28a Merge pull request #154 from elixirkoans/enforce-the-do-block-in-koans
Test for single arity failures
2017-01-10 08:59:24 -06:00
Felipe Sere
8860a52b98 Better phrase the test that forces do-block unwrapping
See https://github.com/elixirkoans/elixir-koans/issues/151 for more
details.
2017-01-10 09:30:44 +00:00
Felipe Seré
af0586b25b Merge pull request #155 from konstantinzolotarev/new-version
fix for version 1.4.0
2017-01-10 09:24:16 +00:00
Konstantin Zolotarev
113ba4d552 fix for version 1.4.0 2017-01-10 11:19:22 +02:00
Felipe Sere
f797ca8e80 Test for single arity failures 2016-12-23 23:53:41 +01:00
Felipe Seré
cf244e673f Merge pull request #150 from iamvery/format-match-failures
Format match failures
2016-12-23 16:51:49 +01:00
Felipe Seré
a1cdb53a24 Merge pull request #152 from iamvery/fix-failure-display
Properly unwrap the koan body the keyword list argument
2016-12-23 16:51:35 +01:00
Jay Hayes
fbf1e139f0 Properly unwrap the koan body the keyword list argument
It's a bummer that this isn't tested. I spent just a couple minutes
trying to come up with where to put the test, but gave up for time's
sake.

See https://github.com/elixirkoans/elixir-koans/issues/151 for more
information and screenshots.
2016-12-23 08:54:06 -06:00
Jay Hayes
4bb0b06471 Format match? failures more elegantly
[#144]
2016-12-23 08:29:04 -06:00
Jay Hayes
08973f4b54 Add test for equality failure
This also revealed that the "test painter" has a missing interface,
yellow/0. Fixed!

[#144]
2016-12-23 08:28:56 -06:00
Jay Hayes
482eee1f6b whitespace 2016-12-23 08:27:45 -06:00
Felipe Sere
6284b1de49 Adds a license 2016-11-11 08:59:41 +00:00
Felipe Seré
d445b0108a Merge pull request #149 from dillonkearns/master
Anonymous functions using & for arbitary expressions
2016-10-30 11:07:45 +00:00
Dillon Kearns
490fa050e5 Add koans to practice building anonymous functions using & for arbitrary expressions 2016-10-29 23:05:08 -04:00
Jay Hayes
cdd83644c0 Merge pull request #146 from iamvery/tweaks
A few tweaks to Blanks
2016-10-25 17:57:44 -05:00
Felipe Seré
dab64e735e Merge pull request #148 from marosluuce/bump-elixir-version
Bump elixir version.
2016-10-25 21:57:56 +01:00
Nathan Walker
c56dddf10a Bump elixir version. 2016-10-25 15:02:54 +01:00
Uku Taht
504f5bc123 Merge pull request #145 from iamvery/unused-function
Remove unused private functions
2016-10-24 10:20:27 +01:00
Jay Hayes
78995827f7 Remove a couple more unneeded function heads
The `:do` seems to be accounted for by the implementation. Tests
shouldn't pass if this is needed.
2016-10-17 08:15:14 -05:00
Jay Hayes
fcc4cc6548 Remove unused function heads
Basically `___` will always quote as a tuple.
2016-10-17 08:11:45 -05:00
Jay Hayes
146da99c32 Replace function head with List.wrap/1 2016-10-17 07:55:03 -05:00
Jay Hayes
b277036841 Remove unused private functions 2016-10-17 07:50:16 -05:00
Uku Taht
9ee83336d6 Merge pull request #137 from Neku/patch-1
The koan about Mapset.member?/2 should appear before Mapset.member?/2 is used
2016-07-22 19:38:16 +01:00
Simone D'Amico
0082c62bee Adding Simone to contributors 2016-07-22 19:35:05 +01:00
Simone D'Amico
9eafe23bc8 Changed order of the answers in map_sets test 2016-07-22 19:34:13 +01:00
Simone D'Amico
3279a13cd8 The koan about Mapset.member?/2 should appear before Mapset.member?/2 is used 2016-07-21 20:35:54 +01:00
Uku Taht
ab372ddf64 Merge pull request #136 from bnchdrff/master
Only run elixir files
2016-07-13 13:28:00 +01:00
Benjamin Chodoroff
87b5bb263c only run elixir code
ignore, for example, editor swapfiles
2016-07-05 16:04:07 -04:00
Felipe Seré
1880f10581 Merge pull request #135 from cpjolicoeur/patch-1
Fix typo
2016-06-17 17:46:08 +01:00
Craig P Jolicoeur
f534d1dc96 Fix typo 2016-06-17 11:43:39 -04:00
Felipe Seré
42dc9cb693 Merge pull request #134 from iamvery/tweaks
A few small things I came across
2016-06-16 08:01:53 +01:00
Jay Hayes
a2e3fe6d93 "I don't think that word means what you think it means" 😂
Without the argument or a local variable, these references are invoking
Kernel.node/0
http://elixir-lang.org/docs/stable/elixir/Kernel.html#node/0
2016-06-15 17:59:05 -05:00
Jay Hayes
9e03b9e47c Remove unnecessary internal module reference 2016-06-15 17:57:25 -05:00
Jay Hayes
ad8b4b5acc Prefer __MODULE__ internally 2016-06-15 17:53:05 -05:00
Felipe Seré
712210cb72 Merge pull request #127 from iamvery/display-inequality
Display inequality, guide learner
2016-06-14 23:34:24 +01:00
Felipe Seré
ec48ab6b5c Merge pull request #129 from iamvery/error-handling
Refactor error expansion to locate errors in koan module
2016-06-14 23:21:29 +01:00
Uku Taht
2c9c4e6666 Merge pull request #132 from iamvery/keyword-list-update
Keyword List update
2016-06-13 23:15:33 +01:00
Uku Taht
b9c50fc715 Merge pull request #131 from iamvery/list-koans
List koans
2016-06-13 23:15:19 +01:00
Uku Taht
53614ac195 Merge pull request #130 from iamvery/number-koans
Number koans
2016-06-13 23:15:00 +01:00
Jay Hayes
e522836f09 Clarify keyword list as options example by including else clause 2016-06-13 09:30:43 -05:00
Jay Hayes
c20436d0c6 Add example for List.wrap(nil)
This better covers the cases of List.wrap
2016-06-13 09:29:36 -05:00
Jay Hayes
f95086b14d Update delete_at example to also use non-numeric values 2016-06-13 09:29:14 -05:00
Jay Hayes
43f832d4e3 Clarify List.delete example
Using numbers in the example tends to confuse the learner about what the
purpose of the second argument to delete is. They might think it's an
index value. This is further exacerbated by the example's value at index
2 being 2. To clear this up, change the example to use non-numeric
values.
2016-06-13 09:27:56 -05:00