digego / extempore

A cyber-physical programming environment
1.41k stars 127 forks source link

levenshtein function always returns 0 #312

Closed cianoc closed 6 years ago

cianoc commented 6 years ago

($ (println (levenshtein (String "workd") (String "world"))))

Currently this prints 0 for me, but I think it should print 1.

Changing the strings doesn't seem to make any difference.

cianoc commented 6 years ago

I will probably have some availability to look at this in a week or so if that helps.