Functor Reins.ListIterator.From_List

module From_List: 
functor (L : Reins.Lists.ListSig) -> S with type 'a collection = 'a L.t and type 'a elt = 'a and type 'a cursor = 'a ListCursor.Make(L).cursor
Create a list iterator for the list L using the standard List_Cursor interface for the cursor.
L : Reins.Lists.ListSig

type direction_ =
| Left_Right
| Right_Left
List iterators support only two directions. 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