• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

elixirkoans/elixir-koans: Elixir learning exercises

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

elixirkoans/elixir-koans

开源软件地址:

https://github.com/elixirkoans/elixir-koans

开源编程语言:

Elixir 99.6%

开源软件介绍:

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.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap