Binsec.Sequenceval empty : 'a tval length : 'a t -> intval peek_front : 'a t -> 'a optionreturns the element at the front of the sequence
val peek_back : 'a t -> 'a optionreturns the element at the back of the sequence
val iter_forward : ('a -> unit) -> 'a t -> unititer, with guaranteed side effect from back to front
val iter_backward : ('a -> unit) -> 'a t -> unititer, with guaranteed side effect from front to back
val fold_forward : ('a -> 'b -> 'b) -> 'a t -> 'b -> 'bfold from back to front
val fold_backward : ('a -> 'b -> 'b) -> 'a t -> 'b -> 'bfold from front to back
creates a Seq.t which iterates from back to front * Not intended to be particularly performant