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 : Base.Hash.state -> t -> Base.Hash.state
val hash : t -> Base.Hash.hash_value
include Ppx_compare_lib.Comparable.S with type t := t
val compare : t -> t -> int
val invert : t -> t
val apply_exn : t -> Core.Sexp.t -> Core.Sexp.t
val print_for_test : t -> unit
OCaml

Innovation. Community. Security.