package omod
Lookup and load installed OCaml modules
Install
Dune Dependency
Authors
Maintainers
Sources
omod-0.0.3.tbz
sha512=4f53b8cdd054dc1a6813427452a91294e0bbcfefe948fc1caec47be136dbcecf13112bf2b620fa2f667592b04b28df74e3bf012ea0fb0038c1da4217155ca626
doc/omod.support/Omod_support/Codec/index.html
Module Omod_support.Codec
Value serializers.
The underlying implementation uses Marshal
with magic numbers that depend on omod and OCaml's versions.
val v : id:string -> 'a t
v ~id
is a new codec with identifier id
(part of the magic number).
val write : 'a t -> Omod.fpath -> 'a -> (unit, string) result
write c file v
writes value v
to file
using codec c
.
val read : 'a t -> Omod.fpath -> ('a, string) result
read c file
reads a value from file
using codec c
.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>