package ocamlformat-lib
Auto-formatter for OCaml code
Install
Dune Dependency
github.com
Readme
Changelog
MIT; LGPL-2.1-only WITH OCaml-LGPL-linking-exception License
Edit opam file
Versions (5)
Authors
Maintainers
Sources
ocamlformat-0.25.1.tbz
sha256=dc8f2a330ca3930b36cacb2623bb360ed8bdf6e4a8acd293dbd9e2241a6fd33d
sha512=b28f545425fb5375447c90022d065dc7fd51ed2f66d8c1f65a71a6ad2465d039a8686e8f18249e5ad3a2362fee6149c855ef30eb45fb9d06d743a53d26b3e26f
doc/src/ocamlformat-lib.parser_recovery/annot.ml.html
Source file annot.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 26 27 28 29 30
open Ast_helper open Parsetree module Ext = struct let mk () = (Location.mkloc "merlin.hole" !default_loc, PStr []) end module Exp = struct let mk () = Exp.extension (Ext.mk ()) end module Cl = struct let mk () = Cl.extension (Ext.mk ()) end module Cty = struct let mk () = Cty.extension (Ext.mk ()) end module Pat = struct let mk () = Pat.extension (Ext.mk ()) end module Mty = struct let mk () = Mty.extension (Ext.mk ()) end module Mod = struct let mk () = Mod.extension (Ext.mk ()) end
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>