First commit
This commit is contained in:
commit
1dba0af064
36 changed files with 1065 additions and 0 deletions
9
private_fun.ex
Normal file
9
private_fun.ex
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
defmodule TestPrivate do
|
||||
def double(a) do
|
||||
sum(a, a)
|
||||
end
|
||||
|
||||
defp sum(a, b) do
|
||||
a + b
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue