3 ms·
If you had a piece of code like this: case my_function(Foo) of some_result -> do_something(A); some_other_result -> do_something(B); _ ->
by tb 19y ago
If you had a piece of code like this:
case my_function(Foo) of
some_result -> do_something(A);
some_other_result -> do_something(B);
_ -> do_default_case()
end
Why do you care if the output of my_function(Foo) is compared to some_result first or some_other_result first?