(del+ins exp act)
Wrapper around clj-diff that returns deletions and insertions as a set and map respectively.
Wrapper around clj-diff that returns deletions and insertions as a set and map respectively.
(replacements [del ins])
Given a set of deletion indexes and a map of insertion index to value sequence, match up deletions and insertions into replacements, returning a map of replacements, a set of deletions, and a map of insertions.
Given a set of deletion indexes and a map of insertion index to value sequence, match up deletions and insertions into replacements, returning a map of replacements, a set of deletions, and a map of insertions.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close