Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/elixirkoans/elixir-koans
Elixir learning exercises
https://github.com/elixirkoans/elixir-koans
elixir koans
Last synced: about 9 hours ago
JSON representation
Elixir learning exercises
- Host: GitHub
- URL: https://github.com/elixirkoans/elixir-koans
- Owner: elixirkoans
- License: mit
- Created: 2015-12-16T12:47:51.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2024-07-16T23:55:17.000Z (5 months ago)
- Last Synced: 2024-12-04T23:04:00.072Z (7 days ago)
- Topics: elixir, koans
- Language: Elixir
- Size: 448 KB
- Stars: 2,252
- Watchers: 40
- Forks: 601
- Open Issues: 30
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- freaking_awesome_elixir - Elixir - [Elixir koans](http://elixirkoans.io/) is a fun, easy way to get started with the elixir programming language. (Examples and funny stuff)
- fucking-awesome-elixir - elixir_koans - [Elixir koans](http://elixirkoans.io/) is a fun, easy way to get started with the elixir programming language. (Examples and funny stuff)
- awesome-elixir - elixir_koans - [Elixir koans](http://elixirkoans.io/) is a fun, easy way to get started with the elixir programming language. (Examples and funny stuff)
- learn-roc -
README
# Elixir Koans
![CI](https://github.com/elixirkoans/elixir-koans/actions/workflows/elixir.yml/badge.svg)
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](http://elixir-lang.org/install.html) for instructions.
First, clone the repo from GitHub:
```sh
$ git clone https://github.com/elixirkoans/elixir-koans.git
$ cd elixir-koans/
```Next, fetch mix dependencies by running:
```sh
$ 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:
```sh
$ 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`
```sh
$ mix meditate --no-clear-screen
```If you want to jump to a specific lesson, run it with `--koan=`
```sh
$ 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](CONTRIBUTORS.md).