From: Brian H. <bh...@sp...> - 2004-09-12 00:21:16
|
On 12 Sep 2004, skaller wrote: > On Sun, 2004-09-12 at 01:23, Brian Hurt wrote: > > On Sat, 11 Sep 2004, Bardur Arantsson wrote: > > > > > I would have suggested "slice" just to be consistent with > > > ExtString.String.slice, but since it uses the (index,len) > > > approach instead of (first,last) and is also much stricter > > > it might be confusing to use the same name. > > > > Actually, (first, last) would be easier to implement. Is there a > > preference in the group? > > First,len has the advantage that the last node must > be in the same list. However, first,last is probably > more useful in some circumstances -- and works even > when the two nodes are in a distinct list. Um, first and last are both indexes. Ints. I think you're still thinking of dllist. -- "Usenet is like a herd of performing elephants with diarrhea -- massive, difficult to redirect, awe-inspiring, entertaining, and a source of mind-boggling amounts of excrement when you least expect it." - Gene Spafford Brian |