package git-split

  1. Overview
  2. Docs
type 'a zipper =
  1. | Zip of 'a list * 'a * 'a list
val pp_zipper : 'a. (Ppx_deriving_runtime.Format.formatter -> 'a -> Ppx_deriving_runtime.unit) -> Ppx_deriving_runtime.Format.formatter -> 'a zipper -> Ppx_deriving_runtime.unit
val show_zipper : 'a. (Ppx_deriving_runtime.Format.formatter -> 'a -> Ppx_deriving_runtime.unit) -> 'a zipper -> Ppx_deriving_runtime.string
val equal_zipper : 'a. ('a -> 'a -> Ppx_deriving_runtime.bool) -> 'a zipper -> 'a zipper -> Ppx_deriving_runtime.bool
val from_list : 'a list -> 'a zipper option
val from_list_exn : 'a list -> 'a zipper
val from_list_rev : 'a list -> 'a zipper option
val from_list_rev_exn : 'a list -> 'a zipper
val to_list : 'a zipper -> 'a list
val at_begin : 'a zipper -> bool
val at_end : 'a zipper -> bool
val to_begin : 'a zipper -> 'a zipper
val to_end : 'a zipper -> 'a 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 -> 'a
val insert : 'a -> 'a zipper -> 'a zipper
val delete : 'a zipper -> 'a zipper
val replace : 'a -> 'a zipper -> 'a zipper
OCaml

Innovation. Community. Security.