package merlin-lib

  1. Overview
  2. Docs
Merlin's libraries

Install

Dune Dependency

Authors

Maintainers

Sources

merlin-4.19-414.tbz
sha256=60a630f59203a9ce7047a5f04d0f239945960dac6f38102922e328b6d2657384
sha512=19f8ec152356873e29c05b971a529146bb7079929037c2b35a5c0afb0b3adf662341ee8527282c5fdd16de391d01c2c469fc8629af9e0ae443fa9f42472b70bb

doc/merlin-lib.sherlodoc/Merlin_sherlodoc/Name_cost/index.html

Module Merlin_sherlodoc.Name_costSource

Utilities for calculating distances between names.

Sourceval distance : ?cutoff:int -> string -> string -> int option

distance ?cutoff a b returns the Damerau-Levenshtein between a and b.

Sourceval distance_of_substring : ?cutoff:int -> string -> string -> int option

distance_of_substring ?cutoff a b compute the distance by extracting relevant substring from b

Sourceval best_distance : ?cutoff:int -> string list -> string -> int

best_distance ?cutoff words entry compute the best distance of a list of string according to a given string.

OCaml

Innovation. Community. Security.