xelixir

Exercism exercises in Elixir.

Subscribe to updates I use xelixir


Statistics on xelixir

Number of watchers on Github 231
Number of open issues 7
Average time to close an issue 13 days
Main language Elixir
Average time to merge a PR 4 days
Open pull requests 43+
Closed pull requests 23+
Last commit 3 months ago
Repo Created about 4 years ago
Repo Last Updated 3 months ago
Size 802 KB
Homepage http://exercism.i...
Organization / Authorexercism
Contributors52
Page Updated
Do you use xelixir? Leave a review!
View open issues (7)
View xelixir activity
View on github
Latest Open Source Launches
Trendy new open source projects in your inbox! View examples

Subscribe to our mailing list

Evaluating xelixir for your project? Score Explanation
Commits Score (?)
Issues & PR Score (?)

Exercism Elixir Track

build status

Exercism Exercises in Elixir

Setup

The exercises currently target Elixir 1.6 and Erlang/OTP 20. Detailed installation instructions can be found at http://elixir-lang.org/install.html.

Contributing

Thank you so much for contributing! :tada:

We welcome pull requests that provide fixes and improvements to existing exercises. If you're unsure, then go ahead and open a GitHub issue, and we'll discuss the change.

Please keep the following in mind:

  • Please start by reading the general Exercism contributing guide.

  • Pull requests should be focused on a single exercise, issue, or change.

  • We welcome changes to code style, and wording. Please open a separate PR for these changes if possible.

  • Please open an issue before creating a PR that makes significant (breaking) changes to an existing exercise or makes changes across many exercises. It is best to discuss these changes before doing the work.

  • Follow the coding standards found in The Elixir Style Guide.

  • Watch out for trailing spaces, extra blank lines, and spaces in blank lines.

  • Each exercise must stand on its own. Do not reference files outside the exercise directory. They will not be included when the user fetches the exercise.

  • Each problem should have a test suite, an example solution, and a template file for the real implementation. The example solution should be named example.exs.

  • Use typespecs in the example and template files as described here.

  • Each test file should have code like the following at the top of the file. This allows the tests to be run on CI and configures tests to be skipped with the :pending flag.

if !System.get_env("EXERCISM_TEST_EXAMPLES") do
  Code.load_file("bob.exs", __DIR__)
end

ExUnit.start
ExUnit.configure exclude: :pending, trace: true
  • All but the initial test for each exercise should be tagged :pending.
@tag :pending
test "shouting" do
  assert Bob.hey("WATCH OUT!") == "Whoa, chill out!"
end

All the tests for Exercism Elixir Track exercises can be run from the top level of the repo with $ mix test. Please run this command before submitting your PR. Watch out for and correct any compiler warnings you may have introduced.

xelixir open issues Ask a question     (View All Issues)
  • over 1 year Move from `:pending` to `:skip`
  • over 1 year Implement `grep` exercise
  • over 1 year Implement `all-your-base` exercise
  • over 1 year Accumulate exercise has redundant tests
  • over 1 year change_test.exs needs more test cases
  • almost 2 years Update config.json to match new specification
xelixir open pull requests (View All Pulls)
  • Update queen attack spec for `new`
  • Add "1carrot0" test to binary
  • Fix stubbed custom exceptions in forth.exs
  • Scrabble-score: replace 'multibillionaire' with 'oxyphenbutazone'
  • Add diamond exercise
  • Add crypto-square exercise
  • Add rail fence cipher exercise
  • Add hexadecimal exercise
  • Extra queen attack tests for drawing the board.
  • add luhn exercise
  • [WIP] adding bowling
  • Adding more documentation for contributers
  • Add flatten-array exercise
  • add beer-song
  • Require SUT files relative to test file directory
  • Add 'kindergarten-garden'
  • Remove dict leftovers
  • Add additional test case for `prime-factors`
  • Update Elixir and Erlang versions, add check for trailing whitespace
  • WIP: Add exercise robot-simulator
  • Rewrite tests and example for CustomSet
  • [WIP] Add Dialyzer to travis.yml file
  • Fail CI on script compilation warnings
  • WIP: Add dialyzer to ci
  • Update tests and example for NucleotideCount
  • [WIP] add all-your-base
  • Add documentation about running Dialyzer to TESTS.md
  • Add clock exercise
  • Add difficulty ratings to `config.json`
  • Add simple linked list exercise
  • grep exercise
  • Add topics for first couple of exercises
  • Add RC1 for Elixir 1.4 to Travis
  • Remove UTF-8 tests, as per #297
  • dibs: I will implement exercise 'Binary Search Tree'
  • atbash-cipher: add missing tests from canonical data
  • dibs: I will implement exercise alphametics
  • Consider allowed range for first digit in area & exchange code
  • Pig Latin: Added tests and improved test descriptions
  • Run `mix format`
  • Fix confusion between proteins and amino acids
  • New Exercise: Alphametics
  • Fix largest-series-product/example.exs
xelixir list of languages used
Other projects in Elixir