levenshtein-step ( insert delete change same? -- next )


Vocabulary
lcs.private

Inputs
insertan object
deletean object
changean object
same?an object


Outputs
nextan object


Definition


: levenshtein-step ( insert delete change same? -- next )
[ [ 1 + ] bi@ ] 2dip [ 1 + ] unless min min ;