elixir-koans
elixir-koans copied to clipboard
Elixir learning exercises
This adds a devcontainer that has elixir pre-installed so you can do the koans without having to install elixir. Selfishly useful for doing some koans while I'm playing games on...
These koans use `Enum.member?` and `MapSet.member?`. I only know a little Elixir, but as far as I can tell these offer no benefit over `in/2` (they're the same speed and...
I love these koans ! Is it relevant to drop a word of caution regarding rounding? ```elixir koan "But beware of floating dragons" do assert Float.round(2.675, 2) == ___ end...
Hi, just a thought because I'm halfway through the koans and I'm pretty sure that I have missed a lot of class (?) functions because I wasn't writing them. The...
In `03_numbers.ex` there is a koan for checking for range ```elixir koan "Is this a range?" do assert Range.range?(1..10) == ___ assert Range.range?(0) == ___ end ``` `Range.range?/1` is deprecated....
Using __STACKTRACE__ is not really an option due to it requiring a try/catch block, which we'd have to possibly add to every koan. Side-step the issue by calling into Erlang
I'm new to Elixir and using these koans. First of all: thanks! I really appreciate them. For the 04_atoms koans, I wasn't clear what was expected. For example, `assert true...
* Causes error when using docker.sh