Liking cljdoc? Tell your friends :D

editscript.edit


edits->scriptclj/s

(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
sourceraw docstring

IEditScriptclj/sprotocol

combineclj/s

(combine this that)

Concate that editscript onto this editscript, return the new editscript

Concate that editscript onto this editscript, return the new editscript

edit-distanceclj/s

(edit-distance this)

Report the edit distance, i.e number of operations

Report the edit distance, i.e number of operations

get-adds-numclj/s

(get-adds-num this)

Report the number of additions

Report the number of additions

get-dels-numclj/s

(get-dels-num this)

Report the number of deletions

Report the number of deletions

get-editsclj/s

(get-edits this)

Report the edits as a vector

Report the edits as a vector

get-reps-numclj/s

(get-reps-num this)

Report the number of replacements

Report the number of replacements

get-sizeclj/s

(get-size this)

Report the size of the editscript

Report the size of the editscript

set-sizeclj/s

(set-size this size)

Set the size, return the script

Set the size, return the script
source

valid-edits?clj/s

(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
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close