levenshtein is:exact

Return the Levenshtein distance between two Text values. The Levenshtein distance between two strings is the minimal number of operations necessary to transform one string into another. For the Levenshtein distance allowed operations are: deletion, insertion, and substitution. See also: https://en.wikipedia.org/wiki/Levenshtein_distance. Heads up, before version 0.3.0 this function returned Natural.
Not on Stackage, so not searched. Calculate the edit distance between two foldables.