Not a long ago I ask why the first of parame of def
named call
in there.
Now I have a related question, what is the name of the part of these:
- def a(p1,p2,p3) do …
- fn p1,p2,p3 ->…
- catch p1,p2 →
Or maybe also incldued this: rescue v in ERROR →
Not a long ago I ask why the first of parame of def
named call
in there.
Now I have a related question, what is the name of the part of these:
Or maybe also incldued this: rescue v in ERROR →
In Erlang – Types and Function Specifications There is a name call TList:
TList :: Type
| Type, TList
So, I think it may be called as something list, but what is it?
I am not sure, but I think v in ERROR
is guard without when
. Is it right?
I know in other language case 1 is called argument list.
But in elixir (a,b,c)
and a,b,c
don’t work as a sentence.
Clauses?
At least that’s how I call them in my macros.