package ocaml-compiler
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Official release of OCaml 5.5.0
Install
dune-project
Dependency
Authors
Maintainers
Sources
ocaml-5.5.0.tar.gz
sha256=c018052c8264a3791a8f54f84179e6bcc78ed82eb889bacc2773df445259aed3
doc/stdlib/Stdlib/Format/Args/index.html
Module Format.ArgsSource
The Args module defines a heterogeneous list type, which can be used as the argument of printf-like functions.
It is not required to open this module when using the functions that accept an Args.t. Thanks to type-based disambiguation, the type is inferred automatically, so the list syntax [x; y; z] can be used directly for heterogeneous lists.
An example:
(* without opening Args *)
Format.lprintf "%s %d %.02f@." [ "ocaml"; 42; 3.14 ]
(* or with explicit construction *)
let lst = let open Format.Args in "ocaml" :: [ 42; 3.14 ] @ [ 'c' ] in
Format.lprintf "%s %d %.02f %c@." lst
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>