Added routines to take first/last elements of objlist and ptrlist.

(0) -30 -10 -1 +1 +10 tip

mercurial