package sexp_diff_kernel

  1. Overview
  2. Docs
type t =
  1. | Same of Core_kernel.Sexp.t
  2. | Add of Core_kernel.Sexp.t
  3. | Delete of Core_kernel.Sexp.t
  4. | Replace of Core_kernel.Sexp.t * Core_kernel.Sexp.t
  5. | Enclose of t list

This type is intended to be used by OCaml code to produce a visual representation of the diff. If you want to display this diff, take a look at Sexp_diff_display.

include Ppx_sexp_conv_lib.Sexpable.S with type t := t
val t_of_sexp : Sexplib0.Sexp.t -> t
val sexp_of_t : t -> Sexplib0.Sexp.t
val hash_fold_t : Base.Hash.state -> t -> Base.Hash.state
val hash : t -> Base.Hash.hash_value
val compare : t -> t -> int
val invert : t -> t
val print_for_test : t -> unit