package batteries
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
A community-maintained standard library extension
Install
dune-project
Dependency
Authors
Maintainers
Sources
v3.1.0.tar.gz
sha256=669181f5962b2430562ea56f08c7e95c9fe39ff29973a256007cec0ef01a2d75
md5=09a28af1c3b95c03d7863756dd4891fe
doc/batteries/BatUChar/index.html
Module BatUChar
Unicode characters.
This module implements Unicode characters.
val char_of : t -> charchar_of u returns the Latin-1 representation of u. If u can not be represented by Latin-1, raises Out_of_range
val of_char : char -> tof_char c returns the Unicode character of the Latin-1 character c
val code : t -> intcode u returns the Unicode code number of u.
val chr : int -> tchr n returns the Unicode character with the code number n. If n does not lay in the valid range of Unicode or designates a surrogate character, raises Out_of_range
compare u1 u2 returns, a value > 0 if u1 has a larger Unicode code number than u2, 0 if u1 and u2 are the same Unicode character, a value < 0 if u1 has a smaller Unicode code number than u2.
type uchar = tAliases of type t
val int_of : uchar -> intAlias of code
val of_int : int -> ucharAlias of chr
val is_ascii : uchar -> booltrue if the char is a regular ascii char, i.e. if its code is <= 127
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>