&T max(list[&T] lst) throws EmptyList
import List;
rascal>import List; ok rascal>max([1, 3, 5, 2, 4]); int: 5 rascal>max(["zebra", "elephant", "snake", "owl"]); str: "zebra"
max(["Peppermint", "Cumin"]) ==