package batteries
A community-maintained standard library extension
Install
Dune Dependency
Authors
Maintainers
Sources
v3.9.0.tar.gz
md5=ea26b5c72e6731e59d856626049cca4d
sha512=55975b62c26f6db77433a3ac31f97af609fc6789bb62ac38b267249c78fd44ff37fe81901f1cf560857b9493a6046dd37b0d1c0234c66bd59e52843aac3ce6cb
doc/batteries.unthreaded/BatPathGen/module-type-StringType/index.html
Module type BatPathGen.StringType
Source
This signature lists few basic operations provided by all string types.
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
).
Type for strings.
Character type used by t
.
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.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>