package yocaml_eio
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
The Eio runtime YOCaml
Install
dune-project
Dependency
Authors
Maintainers
Sources
yocaml-2.4.0.tbz
sha256=5d230b9dd9e3d434ebb767ecc20732ed8fc03a8c100813ff29c7933a7ee4050d
sha512=b4f4b76bef7e4d65d2f7434c122592a02c5d80114bde58f2167509fc92e2666a6b798ca964b9ed07e526ef2b59c5db9c4a435c6c64721a745ea0da37b3eed97a
doc/yocaml_eio/Yocaml_eio/index.html
Module Yocaml_eioSource
Eio runtime for YOCaml.
Allows you to run YOCaml on a Unix system based on Eio (or source service for more complex runtimes).
Source
val run :
?level:Yocaml_runtime.Log.level ->
?custom_error_handler:
(Format.formatter -> Yocaml.Data.Validation.custom_error -> unit) ->
(unit -> unit Yocaml.Eff.t) ->
unitrun ?custom_error_handler program Runs a Yocaml program in the Eio runtime. The log level (default: Debug) and a custom_error_handler can be passed as arguments to change the reporting level and use a default log reporter, and to pretty print user defined errors. If the user want to set-up a custom reporter, the level flag should be ignored.
Source
val serve :
?level:Yocaml_runtime.Log.level ->
?custom_error_handler:
(Format.formatter -> Yocaml.Data.Validation.custom_error -> unit) ->
target:Yocaml.Path.t ->
port:int ->
(unit -> unit Yocaml.Eff.t) ->
'aserve ?level ?custom_error_handler ~target ~port program serve the directory target statically and re-run program on each refresh.
Runtime
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page