On this page:
sexp-diff

23 S-Expression Diff

 (require unstable/sexp-diff)

This library is unstable; compatibility will not be maintained. See Unstable for more information.

(sexp-diff old-tree new-tree)  any/c
  old-tree : any/c
  new-tree : any/c
Takes two S-Expressions and returns their diff. Based on the Levenshtein distance for trees.

Example:

  > (sexp-diff '(0 (1 2 3)) '(0 (4 2 3)))

  '((0 (#:new 4 #:old 1 2 3)))