Task

Create a function that returns the maximum value in a provided set of values,

where the number of values may not be known until run-time.




> max( { 1, 2,  Pi, exp(1) } ); # set
                                   Pi
 
> max( [ 1, 2,  Pi, exp(1) ] ); # list
                                   Pi
 
> max( 1, 2,  Pi, exp(1) ); # sequence
                                   Pi
 
> max( Array( [ 1, 2,  Pi, exp(1) ] ) ); # Array
                                   Pi