Code Monkey home page Code Monkey logo

elixir-koans's Introduction

Elixir Koans

CI

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.

elixir-koans's People

Contributors

felipesere avatar iamvery avatar ukutaht avatar ericengineered avatar marosluuce avatar nagasaki45 avatar maikon avatar denheck avatar rabeagleissner avatar s-oram avatar gemcfadyen avatar foucist avatar cohen-carlisle avatar jgandt avatar nmassaro avatar riacataquian avatar kknives avatar simonedamico avatar snikolau avatar huyz avatar codefupanda avatar cybrox avatar rafax avatar jechol avatar selfsimilar avatar membranepotential avatar kamidev avatar fmatosqg avatar fabientownsend avatar zmackie avatar

Stargazers

Roman avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.