23 S-Expression Diff
(require unstable/sexp-diff) |
This library is unstable; compatibility will not be maintained. See Unstable for more information.
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))) |