package ortac-wrapper
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Wrapper plugin for Ortac
Install
dune-project
Dependency
Authors
Maintainers
Sources
.tar.gz
md5=1bbffc8b2ecf943c2d66bdf9c72b994a
sha512=f23537bc18149e5cf5f5035139fac0541b55f7087127b1ca963f16d8852096d7fbdd5378b9fbb7703a3ce175b4a90ad8a7dfafc4292b5f1196fa11fbef43a178
doc/src/ortac-wrapper.plugin/ortac_wrapper.ml.html
Source file ortac_wrapper.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26open Cmdliner open Registration (* reexpose Generate module as it is used by the monolith plugin for example *) module Generate = Generate module Plugin : sig val cmd : unit Cmd.t end = struct let main input output () = let fmt = get_out_formatter output in try Generate.generate input fmt with Gospel.Warnings.Error e -> Fmt.epr "%a@." Gospel.Warnings.pp e; exit 1 let info = Cmd.info "wrapper" ~doc: "Wrap module functions with assertions to check their specifications." let term = Term.(const main $ ocaml_file $ output_file $ setup_log) let cmd = Cmd.v info term end let () = register Plugin.cmd
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>