module Make_prefix_suffix_array: functor (
A
:
sig
type
t
type
character
val get : t -> int -> character
val length : t -> int
val sub_exn : t -> index:int -> length:int -> t
end
) ->
sig
.. end
Parameters: |
A |
: |
sig
type t
type character
val get : t -> int -> character
val length: t -> int
val sub_exn: t -> index:int -> length:int -> t
end
|
|
val sub_same_tl : A.t -> comp:A.t -> len:int -> off:int -> bool
val is_prefix : A.t -> prefix:A.t -> bool
val is_suffix : A.t -> suffix:A.t -> bool
val chop_prefix_exn : A.t -> prefix:A.t -> A.t
val chop_prefix : A.t -> prefix:A.t -> A.t option
val chop_suffix_exn : A.t -> suffix:A.t -> A.t
val chop_suffix : A.t -> suffix:A.t -> A.t option