Elixir Koans
Fill in the blanks so failing Elixir tests pass, one koan at a time
Three underscores mark every gap. The opening file asks you to replace ___ so that an assertion as plain as true == ___ holds, and the koans keep that pairing of mock-Zen titles and tiny assertions while the topics get heavier.
Free · No login · Terminal · Beginner

About Elixir Koans
There are 24 lesson files. The early ones walk through Elixir's data types (strings, numbers, atoms, tuples, lists, keyword lists, maps, MapSets and structs), then sigils, pattern matching, functions and Enum. From file 15 the koans move into what sets Elixir apart: processes, Tasks, Agents and GenServers, followed by protocols, comprehensions, control flow, error handling, the pipe operator and the with statement.
Opinions on Hacker News are mixed in a useful way. One commenter found the exercises very basic but said the project shows off hot code reloading well; another credits it, together with Pragmatic Studio's course, with getting them ready to submit a code sample for a first Elixir role. Ruby Koans uses the same fill-in-the-blank format for Ruby.
Questions about Elixir Koans
How do I jump to a specific lesson instead of starting from the first koan?
Does the runner work on Linux without extra packages?
Made this game? Claim it →

Tips and discussion
No tips yet.
Sign in to share a tip.