package git_split

  1. Overview
  2. Docs
type 'a zipper =
  1. | Zip of 'a list * 'a * 'a list
val equal_zipper : 'a. ('a -> 'a -> Ppx_deriving_runtime.bool) -> 'a zipper -> 'a zipper -> Ppx_deriving_runtime.bool
val from_list : 'a list -> 'b zipper option
val from_list_exn : 'a list -> 'a zipper
val from_list_rev : 'a list -> 'b zipper option
val from_list_rev_exn : 'a list -> 'a zipper
val to_list : 'a zipper -> 'b list
val at_begin : 'a zipper -> bool
val at_end : 'a zipper -> bool
val to_begin : 'a zipper -> 'b zipper
val to_end : 'a zipper -> 'b zipper
val prev : 'a zipper -> 'a zipper
val prev_wrap : 'a zipper -> 'a zipper
val next : 'a zipper -> 'a zipper
val next_wrap : 'a zipper -> 'a zipper
val cursor : 'a zipper -> 'b
val insert : 'a -> 'b zipper -> 'c zipper
val delete : 'a zipper -> 'a zipper
val replace : 'a -> 'b zipper -> 'c zipper
OCaml

Innovation. Community. Security.