Files
elixir-koans/lib/elixir_koans.ex
Ahmed Ismail edf50fdf80 Add credo to the project and:
- Run mix credo --all to identify possible code optimizations
 - Resolve most of the errors generated by credo such as:
   - Numbers larger than 9999 should be written with underscores: 58_127
   - Modules should have a @moduledoc tag
   - Comparison will always return true
2023-11-10 00:57:21 +05:00

19 lines
368 B
Elixir

defmodule ElixirKoans do
@moduledoc false
use Application
def start(_type, _args) do
import Supervisor.Spec
children = [
worker(Display, []),
worker(Tracker, []),
worker(Runner, []),
worker(Watcher, [])
]
opts = [strategy: :one_for_one, name: ElixirKoans.Supervisor]
Supervisor.start_link(children, opts)
end
end