Task

Show how to return more than one value from a function.




> sumprod := ( a, b ) -> (a + b, a * b):
> sumprod( x, y );
                               x + y, x y
 
> sumprod( 2, 3 );
                                  5, 6