package fuzzy_compare

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t

The type being compared

type cmp

Type of the individual parts (chars in a string, etc.)

val equal_cmp : cmp -> cmp -> bool
type index

Type optimized for quick access

val index : t -> index

Convert from t to index

val length : index -> int

Length of index

val get : index -> int -> cmp

Quick access into index

val fold : index -> init:'a -> f:('a -> cmp -> 'a) -> 'a

Fold over index

OCaml

Innovation. Community. Security.