package sexp_diff_kernel

  1. Overview
  2. Docs

Module Sexp_diff_kernel.DiffSource

Sourcetype 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
Sourceval t_of_sexp : Sexplib0__.Sexp.t -> t
Sourceval sexp_of_t : t -> Sexplib0__.Sexp.t
Sourceval compare : t -> t -> int
Sourceval invert : t -> t
Sourceval print_for_test : t -> unit
OCaml

Innovation. Community. Security.