package ciao_lwt
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
A tool for migrating from Lwt to direct-style concurrency libraries
Install
dune-project
Dependency
Authors
Maintainers
Sources
ciao_lwt-0.2.tbz
sha256=1ee830a5a6fec1adf4dc3fe3caae7cca769b49c1671fb0fcb4884778feb211c6
sha512=6ff296f22bfc254e96acf83465876843bbeabbfa11239528fd9a3d4f6cc1a7d0973a517b9dc0f5c1d7fe467c945ae686a4aa294788cda3d37035b4ab7928c5bf
doc/ciao_lwt.ocamlformat_utils/Ocamlformat_utils/index.html
Module Ocamlformat_utilsSource
Source
type modify_ast = {structure : Parsing.Parsetree.structure -> Parsing.Parsetree.structure * Cmt.t list;signature : Parsing.Parsetree.signature -> Parsing.Parsetree.signature * Cmt.t list;
}Source
val format_in_place :
file:string ->
modify_ast:modify_ast ->
(unit, [ `Msg of string ]) resultFormat the content of and overwrite file. modify_ast can be used to apply any change to the program. Raises Failure and Sys_error.
Source
val parse :
file:string ->
([ `Structure of Parsing.Parsetree.structure
| `Signature of Parsing.Parsetree.signature ],
[ `Msg of string ])
resultParse an ocaml file.
Formatting a fragment of AST. This is most useful for messages.
Format longidents without comments.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>