package batteries
A community-maintained standard library extension
Install
Dune Dependency
Authors
Maintainers
Sources
v3.6.0.tar.gz
md5=1bcb27dfbd130eb057561196ef851649
sha512=2a56611b09a5f1cba6457539f8b6bc87a5f2a5454b36cdb39f6e0d6a5dac6db179aab1ba87c74dd49cc41df31a9a96feb349028ea41df7371ecb47f4d9dfafc4
doc/batteries.unthreaded/BatPathGen/Make/argument-1-S/index.html
Parameter Make.S
The actual implementation may use any (coherent) scheme of indexing of strings. Below the term 'indexing unit' can stay either for byte or character (or whatever employed by the implementation). This determines meaning of all int
arguments and results (excluding result of compare
).
val length : t -> int
Length - number of indexing units
val lift_char : char -> tchar
Convert Latin-1 character to tchar
.
val lift : string -> t
Convert from UTF-8 string of primitive string
type.
val to_string : t -> string
Convert to primitive string with UTF-8 content.
concat_with_separators sep lst
catenates all n elements of lst
inserting (n-1) copies of sep
in between.
As String.sub
, but indexed in specific way.
val rindex : t -> char -> int
module Parse : sig ... end
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>