module type S =The signature for an iterator over a List.sig
..end
type
direction_ =
| |
Left_Right |
| |
Right_Left |
Left_Right
iterates through the list in the forward direction, visiting the
head of the list before the tail. Right_Left
is the opposite.
It iterates through all elements in the tail before visiting the
head.include Reins.Iterator.S