File: slice.mli

package info (click to toggle)
ocaml-re 1.14.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 848 kB
  • sloc: ml: 8,054; makefile: 18; sh: 11
file content (12 lines) | stat: -rw-r--r-- 192 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
type t =
  { s : string
  ; pos : int
  ; len : int
  }

module L : sig
  type nonrec t = t list

  val get_substring : t -> start:int -> stop:int -> string
  val drop_rev : t -> int -> t
end