You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the issue
On Multiple Function Clauses, there is this explanation:
So above we define MultipleFunctionClauses.find_arity/1, MultipleFunctionClauses.find_arity/2, and MultipleFunctionClauses.find_arity/3 functions.
It is imprecise because above instead of defining MultipleFunctionClauses.find_arity with arities 1, 2 and 3, the function that is defined is MultipleFunctionClauses.my_function with arities 0, 1 and 2.
So, the correct description shlud be:
So above we define MultipleFunctionClauses.my_function/0, MultipleFunctionClauses.my_function/1, and MultipleFunctionClauses.my_function/2 functions.
Expected behavior
A concise description avoids confusion, especially for those who intend to learn Elixir.
Screenshots
The text was updated successfully, but these errors were encountered:
Describe the issue
On
Multiple Function Clauses
, there is this explanation:It is imprecise because above instead of defining
MultipleFunctionClauses.find_arity
with arities1
,2
and3
, the function that is defined isMultipleFunctionClauses.my_function
with arities0
,1
and2
.So, the correct description shlud be:
Expected behavior
A concise description avoids confusion, especially for those who intend to learn Elixir.
Screenshots
![Screenshot 2024-07-08 at 19 26 06](https://private-user-images.githubusercontent.com/10944917/346739812-2e01af44-4f1a-4843-ab9d-20079d4f8462.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjMwOTQ0NTYsIm5iZiI6MTcyMzA5NDE1NiwicGF0aCI6Ii8xMDk0NDkxNy8zNDY3Mzk4MTItMmUwMWFmNDQtNGYxYS00ODQzLWFiOWQtMjAwNzlkNGY4NDYyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODA4VDA1MTU1NlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTRmNDA1MGY5ZTYxODA3YjI5OGIzMzgxNzYzOTA2Y2NiOGNhMmY3ZDYzYTEyMTFiNzAyYTU1MmNhYjA0MWRmYmEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.z4aY9zb5WdJ2BCQyqAUEgTad1ha8YUat5bro5EfGgdM)
The text was updated successfully, but these errors were encountered: