Elixir

Cond

Multi-branch.

💡 THINK OF IT LIKE…
▸ YOUR TURN

Write: cond do; x > 0 -> :pos; true -> :other; end

cond.elixir
+130 XP
Tab indent · Shift+Tab outdent · ⌘/Ctrl + Enter submit · auto-pairs ( [ { " '