package wu-manber-fuzzy-search

  1. Overview
  2. Docs

Patterns with a fold right operation.

include PatternWithElemEquality
include Pattern
type t

The type of patterns.

val length : t -> int
include ElemsWithEquality
include Elems
type elem

The type of characters in the patterns.

val elem_eq : elem -> elem -> bool

Operation to check if two characters are equal.

val fold_right : (elem -> 'a -> 'a) -> t -> 'a -> 'a