return x returns
x as the value of the function currently being evaluated.
return; returns
null as the value of the function currently being evaluated.
i1 : f = x -> (
if x == 3 then return;
if x > 3 then return x^2;
5);
|
i2 : f 2
o2 = 5
|
i3 : f 3
|
i4 : f 4
o4 = 16
|