(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 builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |