}
SequenceIterator base = argument[0].iterate(context);
if (intindex == 1) {
return base.next();
} else if (base instanceof GroundedIterator) {
GroundedValue value = ((GroundedIterator)base).materialize();
return value.itemAt(intindex-1);
} else {
SequenceIterator tail = TailIterator.make(base, intindex);
return tail.next();
}
} else {