O(index)
function listGet<A> input List<A> lst; input Integer index "one-based index"; output A element; end listGet;