5 lines
78 B
Erlang
5 lines
78 B
Erlang
case X of
|
|
{N,M} when N > M -> M;
|
|
{N,M} when N < M -> N;
|
|
_ -> equal
|
|
end.
|