package ecaml
Library for writing Emacs plugin in OCaml
Install
Dune Dependency
Authors
Maintainers
Sources
v0.17.0.tar.gz
sha256=87e76473915e12d718096100a5c4d15d98aba6f99ecbf21814b7389e8c28bb25
doc/ecaml.ecaml_value/Ecaml_value/Value/index.html
Module Ecaml_value.Value
Source
(Info-goto-node "(elisp)Type Predicates")
(describe-function 'consp)
If supplied, ?car
and ?cdr
are additionally required to return true for the car and cdr, respectively.
(describe-variable 'most-negative-fixnum)
(describe-variable 'most-positive-fixnum)
of_int_exn n
raises if n
is not in the range emacs_min_int, emacs_max_int
of_utf8_bytes_cached
is like of_utf8_bytes
, except it keeps a hash table mapping each OCaml string to the corresponding Elisp string. This can be used to optimize the conversion of OCaml values to Elisp values.
Source
val of_utf8_bytes_replacing_invalid :
string ->
t * [ `First_malformed of (int * string) option ]
Like of_utf8_bytes
, but instead of failing on invalid UTF-8 sequences, replace them with the Unicode replacement character (U+FFFD).
Return the resulting value, as well as the first malformed sequence (and its index) in the input string, if any.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>