IndexedSeqare mostly pretty good
Streamwill probably break everything. (Now,
LazyList.) Maybe we should remove it from the hierarchy. Make it an
Iterable, if even that.
Iterableif it happens to iterate in the same order, that's its choice. You aren't promised that this will be the case.
Seqbut not an
Statelike Sébastien suggested would probably be better in that regard
droprequires an immediate
isEmptycall, which forces the
LazyList, if it's meant to be fully lazy, should be pretty special.
LinearSeqstarts by checking