Change the area/3
function that you wrote in
Étude 3-2 so that it uses a case
instead
of pattern matching. Use a guard on the function definition to ensure
that the numeric arguments are both greater than zero.
Get Études for Erlang now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.