Commit Graph

460 Commits

Author SHA1 Message Date
Jay Hayes
41955a16de Fix unbound variable error in Elixir v1.5.0-dev
It's not clear to me why "e in _" ever worked, but this seems to make
things better. Afaict, the point of these clauses are to "rescue
anything".
2017-02-23 10:39:02 -06:00
Jay Hayes
6986656c91 Allow any 1.x minor version to run koans
See #167
2017-02-23 10:37:45 -06:00
Felipe Seré
6e22272c2b Merge pull request #174 from elixirkoans/iamvery/tweaks-to-pr-170
Tweaks to #170 MapSet example
2017-02-19 13:52:51 +00:00
Jay Hayes
f1fd2a2dad Uncomment 💡 moment about set size 2017-02-19 07:44:59 -06:00
Jay Hayes
95a2ed95a6 Fix sorted?/1 implementation 2017-02-19 07:44:45 -06:00
Jay Hayes
4a9800f1f7 Further simplify mapset example with sorted?/1 function 2017-02-19 07:37:57 -06:00
Jay Hayes
5731f8ac3b Simplify variable names and add space 2017-02-19 07:20:49 -06:00
Jay Hayes
cef72bc0f8 Add comment about "why 33?" 2017-02-19 07:15:23 -06:00
Jay Hayes
ca0151ba0c Simplify description 2017-02-19 07:14:39 -06:00
Jay Hayes
c08f22b0d2 Extract common value in example 2017-02-19 07:14:33 -06:00
Jay Hayes
ec082f0e72 Fix broken mapset koan test 2017-02-19 07:14:04 -06:00
Jay Hayes
84cd227108 whitespace 2017-02-19 07:13:01 -06:00
Felipe Sere
ebae90c50a Update to the latest exfswatch to fix issue with Ubuntu 2017-02-18 17:21:33 +00:00
Felipe Seré
ef986ee584 Merge pull request #171 from elixirkoans/iamvery/whitespace
Whitespace
2017-02-11 19:44:53 +00:00
Jay Hayes
c712592ac4 🔪 whitespace 2017-02-11 13:56:20 -05:00
huyz
0985507d45 Fixed __. Should be ___ 2017-02-10 23:50:44 -08:00
huyz
0b1f19accc Clarify the koan that shows that MapSets are unordered. 2017-02-10 23:43:21 -08:00
Jay Hayes
2cf4ed485b Merge pull request #168 from jessejanderson/master
Fix comma placement typo
2017-02-08 09:05:26 -06:00
Jesse J. Anderson
dafbfa6daa fix comma placement typo 2017-02-07 22:15:57 -08:00
Jay Hayes
bceeac5bf0 Merge pull request #165 from rafax/patch-1
Support for Elixir 1.4.1
2017-02-02 11:47:23 -06:00
Rafał Gajdulewicz
b176814879 Bump Elixir to 1.4.1 2017-01-29 21:08:27 +01:00
Rafał Gajdulewicz
d04996f470 Support for Elixir 1.4.1 2017-01-29 20:59:01 +01:00
Felipe Seré
136e02cafe Merge pull request #162 from srufle/master
Demonstrate put_in to manipulate nested struct values
2017-01-26 20:02:30 +00:00
Stephen Rufle
fe3ef09aca Added myself to CONTRIBUTORS.md 2017-01-24 18:37:59 -07:00
Stephen Rufle
21a162b80e Changed to a single line, so its consistent with other sections 2017-01-24 18:34:07 -07:00
Jay Hayes
9c192513c8 Merge branch 'pr/163' 2017-01-24 08:09:40 -06:00
Jay Hayes
b8d7abe4ea Change definition of anonymous greet
That prevents the confusion of mixing up the anonymous and named
implementations fixed by 55f592.
2017-01-24 08:08:01 -06:00
Jason Huang
55f59208b2 should call anonymous function with dot 2017-01-24 13:36:42 +08:00
srufle
55f1648bbd Demonstrate put_in using atoms to manipulate nested values of a nested
Map
2017-01-22 11:15:17 -07:00
srufle
d467985778 Demonstrate update_in to manipulate nested struct values 2017-01-22 11:12:49 -07:00
srufle
516be35df9 Demonstrate put_in to manipulate nested struct values 2017-01-22 10:46:51 -07:00
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