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.




pragma.enable("accumulator") # non-finalized syntax feature
 
def max([first] + rest) { 
    return accum first for x in rest { _.max(x) }
}