1. Sebastien Mondet
  2. sosa

Commits

Sebastien Mondet  committed 8b0ed64

lib: add documentation for `index_of_string`

  • Participants
  • Parent commits a4fcfd2
  • Branches master

Comments (0)

Files changed (1)

File sosa.ml

View file
 
   val index_of_string: ?from:int ->
     ?sub_index:int -> ?sub_length:int -> t -> sub:t -> int option
+  (** Find the first occurrence of the substring [(sub, sub_index,
+      sub_length)] in a given string, starting at index [from].  *)
 
 
   module Make_output: functor (Model: OUTPUT_MODEL) -> sig