Question: How to compute the min and max value of a list with maple?

I know maple has two functions max and min to compute the maximum and minimum of some arguments. But I have a list,such as l:=[1,2,3]; when I use the maple function min,I need to write: min(l[1],l[2],l[3]); How can I simplify the expression? If l is list with too many items,how to use min to calculate the minimum?
Please Wait...