This is an alternative site for discovering Elm packages. You may be looking for the official Elm package site instead.
We were not able to find the expected elm-package.json file at this tag.
Tag 1.0.4
Committed At 2019-07-12 18:42:27 UTC



    Edit Distance

    Elm package to compute edit distance.

    Currently only Levenshtein distance is supported with O(mn) time complexity.

    This means that could take a while with long strings in input, so please run some tests.

    levenshteinOfStrings "kitten" "sitten" == 1
    -- substitution of "s" for "k"
    levenshteinOfStrings "sittin" "sitting" == 1
    -- insertion of "g" at the end