https://github.com/maxi-k/project-euler-elixir
Exploring the language Elixir by solving projecteuler.net problems with it
https://github.com/maxi-k/project-euler-elixir
elixir learning project-euler
Last synced: 6 months ago
JSON representation
Exploring the language Elixir by solving projecteuler.net problems with it
- Host: GitHub
- URL: https://github.com/maxi-k/project-euler-elixir
- Owner: maxi-k
- Created: 2017-04-15T13:11:23.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-15T21:30:49.000Z (almost 9 years ago)
- Last Synced: 2025-04-04T15:13:26.389Z (10 months ago)
- Topics: elixir, learning, project-euler
- Language: Elixir
- Size: 9.77 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Project Euler in Elixir
Some of Project Euler's exercises implemented in Elixir,
with the goal of getting better at the language.
The problems are not solved in the most
efficient/concise/beautiful/idiomatic way possible,
but rather in a way that explores the different features of the language.
## Running
- Run `mix deps.get` to get the `remix` dependency, which auto-reloads code
- Fire up `iex -S mix`
- Run `EulerXX.run` to run a file
- When editing and saving a file, `remix` will recompile the code
## Compiling
- Run `mix escript.build`, which produces a file called `project_euler_elixir`
- Running it (`./project_euler_elixir`) will run all implemented
solutions to the euler problems
- Running it with arguments (`./project_euler_elixir 01 02`) will only
run those solutions.