mirror of
https://github.com/rjNemo/exercism-elixir
synced 2026-06-06 02:16:48 +00:00
806 B
806 B
Hints
General
1. Return the logging code label
- You can use the
cond/1special form to elegantly handle the various log codes. - You can use equality operators to compare integers for strict type equality.
- There is a way to specify a default branch in a cond expression that can be used to catch unspecified cases.
2. Send an alert
- You can use the
cond/1special form to decide if an alert should be sent. - You can use equality operators to compare atoms for equality.