package sexp_diff

  1. Overview
  2. Docs
type t =
  1. | Same of Core.Sexp.t
  2. | Add of Core.Sexp.t
  3. | Delete of Core.Sexp.t
  4. | Replace of Core.Sexp.t * Core.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 Sexplib0.Sexpable.S with type t := t
val t_of_sexp : Sexplib0__.Sexp.t -> t
val sexp_of_t : t -> Sexplib0__.Sexp.t
include Ppx_hash_lib.Hashable.S with type t := t
val hash_fold_t : t Base__Ppx_hash_lib.hash_fold
val hash : t -> Base__Ppx_hash_lib.Std.Hash.hash_value
include Ppx_compare_lib.Comparable.S with type t := t
val compare : t Base__Ppx_compare_lib.compare
val invert : t -> t
val apply_exn : t -> Core.Sexp.t -> Core.Sexp.t
val print_for_test : t -> unit
OCaml

Innovation. Community. Security.