All Projects → elixirkoans → Elixir Koans

elixirkoans / Elixir Koans

Licence: mit
Elixir learning exercises

Programming Languages

elixir
2628 projects

Labels

Projects that are alternatives of or similar to Elixir Koans

Python koans
Python Koans - Learn Python through TDD
Stars: ✭ 4,478 (+150.45%)
Mutual labels:  koans
crystal-koans
The Crystal Programming Language Koans
Stars: ✭ 31 (-98.27%)
Mutual labels:  koans
julia koans
Small exercises to get you used to reading and writing Julia code!
Stars: ✭ 28 (-98.43%)
Mutual labels:  koans
refactoring-koans-js
Refactoring Koans to help you learn to refactor code smells in javascript
Stars: ✭ 15 (-99.16%)
Mutual labels:  koans
minerva
Elixir framework for easily writing koans.
Stars: ✭ 13 (-99.27%)
Mutual labels:  koans

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.

First, clone the repo from GitHub:

$ git clone https://github.com/elixirkoans/elixir-koans.git
$ cd elixir-koans/

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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].