package wu-manber-fuzzy-search

  1. Overview
  2. Docs

Patterns with a fold right operation.

include Patterns.PatternWithElemEquality
include Patterns.Pattern
type t

The type of patterns.

val length : t -> int
include Patterns.ElemsWithEquality
include Patterns.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