First commit

This commit is contained in:
Mariano Uvalle 2020-06-20 13:57:33 -05:00
commit 1dba0af064
36 changed files with 1065 additions and 0 deletions

11
test_num2.ex Normal file
View file

@ -0,0 +1,11 @@
defmodule TestNum do
def test(x) when is_number(x) and x < 0 do
:negative
end
def test(0), do: :zero
def test(x) when is_number(x) and x > 0 do
:positive
end
end