(edits->script edits)
Create an EditScript instance from a vector of edits, like those obtained
through calling get-edits
on an EditScript
Create an EditScript instance from a vector of edits, like those obtained through calling `get-edits` on an EditScript
(combine this that)
Concate that editscript onto this editscript, return the new editscript
Concate that editscript onto this editscript, return the new editscript
(edit-distance this)
Report the edit distance, i.e number of operations
Report the edit distance, i.e number of operations
(get-adds-num this)
Report the number of additions
Report the number of additions
(get-dels-num this)
Report the number of deletions
Report the number of deletions
(get-edits this)
Report the edits as a vector
Report the edits as a vector
(get-reps-num this)
Report the number of replacements
Report the number of replacements
(get-size this)
Report the size of the editscript
Report the size of the editscript
(set-size this size)
Set the size, return the script
Set the size, return the script
(valid-edits? edits)
Check if the given vector represents valid edits that can be turned into an EditScript
Check if the given vector represents valid edits that can be turned into an EditScript
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close