How to compare data structures in clojure and highlight differences

Viewed 2603

Is there a nice way to print out differences in clojure data structures? In Perl for example there is Test::Differences which helps a lot.

5 Answers

Fanciest diff what I saw is deep-diff

It produces nice colorful diff like this

enter image description here

There also mention of nice editscript lib whick produce diff as array of patches.

Related