module Cursor: sig
.. end
type 'a
cursor
val cursor_of_list : 'a list -> 'a cursor
val cursor_of_function : (unit -> 'a option) -> 'a cursor
val cursor_of_stream : 'a Stream.t -> 'a cursor
val cursor_empty : unit -> 'a cursor
val cursor_of_singleton : 'a -> 'a cursor
val cursor_of_option : 'a option -> 'a cursor
val cursor_peek : 'a cursor -> 'a option
val cursor_npeek : int -> 'a cursor -> 'a list
val cursor_next : 'a cursor -> 'a
val cursor_junk : 'a cursor -> unit
val cursor_is_empty : 'a cursor -> bool
val cursor_get_singleton : 'a cursor -> 'a
val cursor_is_singleton : 'a cursor -> bool
val cursor_get_optional : 'a cursor -> 'a option
val cursor_is_optional : 'a cursor -> bool
val cursor_cons : 'a -> 'a cursor -> 'a cursor
val cursor_append : 'a cursor -> 'a cursor -> 'a cursor
val cursor_map : ('a -> 'b) -> 'a cursor -> 'b cursor
val cursor_iter : ('a -> unit) -> 'a cursor -> unit
val cursor_map_concat : ('a -> 'b cursor) -> 'a cursor -> 'b cursor
val cursor_filter : ('a -> bool) -> 'a cursor -> 'a cursor
val cursor_fold_left : ('a -> 'b -> 'a) -> 'a -> 'b cursor -> 'a
val cursor_exists : ('a -> bool) -> 'a cursor -> bool
val cursor_find : ('a -> bool) -> 'a cursor -> 'a
val cursor_list_fold : 'a cursor list -> 'a cursor
val cursor_array_fold : 'a cursor array -> 'a cursor
val cursor_for_all : ('a -> bool) -> 'a cursor -> bool
val cursor_for_all2 : ('a -> 'b -> bool) -> 'a cursor -> 'b cursor -> bool
val cursor_length : 'a cursor -> int
val cursor_first : 'a cursor -> 'a cursor
val cursor_last : 'a cursor -> 'a cursor
val cursor_subsequence2 : 'a cursor -> int -> 'a cursor
val cursor_subsequence3 : 'a cursor -> int -> int -> 'a cursor
val list_of_cursor : string -> 'a cursor -> 'a list
val rev_list_of_cursor : 'a cursor -> 'a list
val stream_of_cursor : 'a cursor -> 'a Stream.t