2 ms·
It is the same function with different clauses using pattern matching. It is a powerful way of handling different cases. There is no overload at all. The concep
by lkuty 3y ago
It is the same function with different clauses using pattern matching. It is a powerful way of handling different cases. There is no overload at all. The concept does not exist in the language. And if the arity differs, then they are completely different functions even if the name is the same.