chickadee » chibi-edit-distance » find-nearest-edits

find-nearest-edits str str-ls #!optional max-distanceprocedure

Returns a list of strings in str-ls with the smallest edit distance to str, preserving order. If max-distance is provided and positive, only return if the edits are less or equal to that distance.