support for forward-only iterators in disp()