package merlin-lib
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Merlin's libraries
Install
dune-project
Dependency
Authors
Maintainers
Sources
merlin-5.8.1-505.tbz
sha256=b8fb32bc0fc092af2fd6bdc831cb966057f2e3fd7b99a172b705e96ba8082583
sha512=01ca96f8167d062ba24036e43f650ff958fb157d44867bd52eb7999b7d19bf9fc97cdcd46c04b6979f0e1149d5041047723eed5913b03c4404d7acb116183bee
doc/src/merlin-lib.ocaml_utils/numbers.ml.html
Source file numbers.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(**************************************************************************) (* *) (* OCaml *) (* *) (* Pierre Chambart, OCamlPro *) (* Mark Shinwell and Leo White, Jane Street Europe *) (* *) (* Copyright 2013--2016 OCamlPro SAS *) (* Copyright 2014--2016 Jane Street Group LLC *) (* *) (* All rights reserved. This file is distributed under the terms of *) (* the GNU Lesser General Public License version 2.1, with the *) (* special exception on linking described in the file LICENSE. *) (* *) (**************************************************************************) module Int_base = Identifiable.Make (struct type t = int let compare = Int.compare let output oc x = Printf.fprintf oc "%i" x let hash i = i let equal (i : int) j = i = j let print = Format.pp_print_int end) module Int = struct type t = int include Int_base let rec zero_to_n n = if n < 0 then Set.empty else Set.add n (zero_to_n (n-1)) let to_string n = Int.to_string n end module Int8 = struct type t = int let zero = 0 let one = 1 let of_int_exn i = if i < -(1 lsl 7) || i > ((1 lsl 7) - 1) then Misc.fatal_errorf "Int8.of_int_exn: %d is out of range" i else i let to_int i = i end module Int16 = struct type t = int let of_int_exn i = if i < -(1 lsl 15) || i > ((1 lsl 15) - 1) then Misc.fatal_errorf "Int16.of_int_exn: %d is out of range" i else i let lower_int64 = Int64.neg (Int64.shift_left Int64.one 15) let upper_int64 = Int64.sub (Int64.shift_left Int64.one 15) Int64.one let of_int64_exn i = if Int64.compare i lower_int64 < 0 || Int64.compare i upper_int64 > 0 then Misc.fatal_errorf "Int16.of_int64_exn: %Ld is out of range" i else Int64.to_int i let to_int t = t end module Float = struct type t = float include Identifiable.Make (struct type t = float let compare x y = Stdlib.compare x y let output oc x = Printf.fprintf oc "%f" x let hash f = Hashtbl.hash f let equal (i : float) j = i = j let print = Format.pp_print_float end) end
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>