Skip to content
Elixir learning exercises
Branch: master
Clone or download
Latest commit 7c865e3 Apr 1, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config Stop wrapping ExUnit Apr 23, 2016
lib Remove duplicative koan Apr 1, 2019
test Remove duplicative koan Apr 1, 2019
.dockerignore add _build to dockerignore Sep 3, 2017
.formatter.exs add .formatter.exs + format May 22, 2018
.gitignore Initial commit Dec 15, 2015
.travis.yml Track newer version of Elixir and Erlang Jan 1, 2019
CNAME Adds our new domain. Apr 23, 2016
CONTRIBUTORS.md Update contributors. Jul 28, 2017
Dockerfile
LICENSE.md Adds a license Nov 11, 2016
README.md chore: removed trailing whitespaces, added newline at the end of the … May 3, 2018
docker.sh included shell script to run docker commands Sep 4, 2017
mix.exs Convert from the retired ExFSWatch to FileSystem Dec 13, 2017
mix.lock Convert from the retired ExFSWatch to FileSystem Dec 13, 2017

README.md

Elixir Koans

Build Status

Elixir koans is a fun way to get started with the elixir programming language. It is a tour of the most important features and idiomatic usage of the language.

Prerequisites

You need to have Elixir installed. Please refer to the official guide for instructions.

Next, fetch mix dependencies by running:

$ mix deps.get

You might get prompted to install further dependencies. Reply "y".

On Linux, you'll need to install inotify-tools to be able to use the autorunner in this project.

Running

With the dependencies installed, navigate to the root directory of this project and run:

$ mix meditate

You should see the first failure. Open the corresponding file in your favourite text editor and fill in the blanks to make the koans pass one by one. The autorunner will give you feedback each time you save.

If you want the autorunner to show you your previous results, run it with --no-clear-screen

$ mix meditate --no-clear-screen

If you want to jump to a specific lesson, run it with --koan=<koan name>

$ mix meditate --koan=PatternMatching

Any typos on the koan name will show the complete list of koans, where you can pick any.

Contributing

We welcome contributions! If something does not make sense along the way or you feel like an important lesson is missing from the koans, feel free to fork the project and open a pull request.

List of contributors.

You can’t perform that action at this time.