package zanuda
Linter for OCaml+dune projects
Install
Dune Dependency
Authors
Maintainers
Sources
v1.1.0.tar.gz
sha256=5b7deabdb016858a0e19ddfb7647f628a243065f88c5ae9f4c362500d51cea7a
sha512=ceb852103fbbb88b5eeb8130bc7aa8bffe7130df6645d3298e1bb9b8f7e8f6c7b323ccc474cf92a08d28e7b80e9a96d68fd53de2e51c7c0e7d8e3e82e436b4bc
doc/src/zanuda.tast_pattern/My_untype.ml.html
Source file My_untype.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 31 32 33 34 35
(** These extra functions are an extension of {!Untypeast} module from compiler libs. Maybe in new versions of compiler they will be available out of box. *) [@@@ocaml.text "/*"] (** Copyright 2021-2024, Kakadu. *) (** SPDX-License-Identifier: LGPL-3.0-or-later *) [@@@ocaml.text "/*"] [@@@coverage off] (* This are helper functions related to OCaml compiler. Doesn't make sense to seriously test them *) include Untypeast (** {2 New functions} *) [%%if ocaml_version < (4, 11, 0)] let untype_expression = default_mapper.expr default_mapper [%%endif] let expr = untype_expression let untype_stru_item si = match untype_structure Typedtree.{ str_items = [ si ]; str_type = Obj.magic 1; str_final_env = si.str_env } with | [ si ] -> si | _ -> failwith "A bug" ;;
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>