This project contains selected problems from the book "Classical Computer Science Problems in Python" translated into Elixir.
For comparison, the source code for CCSP in Python can be found on Github.
There are a handful of goals:
- Demonstrate an idiomatic Elixir approach to the problems found in the book
- Showcase differences between programming paradigms as represented by the two languages
- Provide in-depth explanations of each section via blog posts
- Minimize the use of external libraries that would do the "heavy lifting" for a solution
If you spot an error, typo, or better approach to a solution, feel free to reach out via creating an Issue or PR.
If available in Hex, the package can be installed
by adding ccsp to your list of dependencies in mix.exs:
def deps do
[
{:ccsp, "~> 0.1.0"}
]
endDocumentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/ccsp.
iex -S mix
mix test
mix dialyzer
mix format