Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type t =
| Same of Core.Sexp.t
| Add of Core.Sexp.t
| Delete of Core.Sexp.t
| Replace of Core.Sexp.t * Core.Sexp.t
| 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_compare_lib.Comparable.S with type t := t
val compare : t Base__Ppx_compare_lib.compare
val apply : t -> Core.Sexp.t -> Core.Sexp.t Core.Or_error.t
val apply_exn : t -> Core.Sexp.t -> Core.Sexp.t
val print_for_test : t -> unit