package odoc
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
OCaml documentation generator
Install
dune-project
Dependency
Authors
Maintainers
Sources
odoc-2.1.1.tbz
sha256=f574dbd28cd0fc3a2b95525c4bb95ddf6d1f6408bb4fe12157fa537884f987fd
sha512=1c545c281a7022a167f028fff8cec6fb3f2f82da0881431be74e7a4281c5353ed83bfbdb4d9d9e08af6755dbe3505c052c5e5b58cdeb08c57aed5e89c0f15e91
doc/src/odoc.document/reason.ml.html
Source file reason.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 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106open Types module O = Codefmt open O.Infix module Reason = Generator.Make (struct module Obj = struct let close_tag_closed = "}" let close_tag_extendable = "}" let field_separator = ", " let open_tag_closed = "{. " let open_tag_extendable = "{.. " end module Type = struct let annotation_separator = ": " let handle_constructor_params name args = name ++ args let handle_substitution_params name args = name ++ args let handle_format_params p = "(" ^ p ^ ")" let type_def_semicolon = true let private_keyword = "pri" let parenthesize_constructor = true module Variant = struct let parenthesize_params = true end module Tuple = struct let element_separator = O.txt ", " let always_parenthesize = true end module Record = struct let field_separator = "," end let var_prefix = "'" let any = "_" let arrow = O.span ~attr:"arrow" (O.txt "=" ++ O.entity "gt") module Exception = struct let semicolon = true end module GADT = struct let arrow = O.txt ":" end module External = struct let semicolon = true let handle_primitives prims = List.fold_left (fun acc p -> let str = match acc with [] -> "\"" ^ p ^ "\"" | _ -> " \"" ^ p ^ "\"" in inline (Text str) :: acc) [] prims end end module Mod = struct let open_tag = O.txt "{" let close_tag = O.txt "}" let close_tag_semicolon = true let include_semicolon = true let functor_keyword = false let functor_contraction = false end module Class = struct let open_tag = O.txt "{" let close_tag = O.txt "}" end module Value = struct let variable_keyword = "let" let semicolon = true end module Comment = struct let markers = ("/*", "*/") end end) include Reason
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>