Skip to content
Classic Computer Science Problems (in Elixir)
Elixir
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config
lib/ccsp
test
.formatter.exs
.gitignore
LICENSE
README.md
mix.exs
mix.lock

README.md

CCSP in Elxir

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.

Installation

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"}
  ]
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/ccsp.

Handy Commands

iex -S mix
mix test
mix dialyzer
mix format
You can’t perform that action at this time.