val length : t -> intmodule Buf : sig ... endrefer t i j returns the part of t from i until j. The character pointed by j is not included in the result. If j is equal to i or located before j, the result is an empty string.
context t returns the tuple (s, i, j) such that t = refer s i j.