package base
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Full standard library replacement for OCaml
Install
dune-project
Dependency
Authors
Maintainers
Sources
v0.17.3.tar.gz
md5=2100b0ed13fecf43be86ed45c5b2cc4d
sha512=628610caff7e124631870fa1e29661caac28bdfdb18750ee43b868037da3d65d6dd9023b4be7c4c52405679efb5e865a6632d95606a22b28a36636a6bf706ef3
doc/src/base/unit.ml.html
Source file unit.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 39open! Import module T = struct type t = unit [@@deriving_inline enumerate, globalize, hash, sexp, sexp_grammar] let all = ([ () ] : t list) let (globalize : t -> t) = (globalize_unit : t -> t) let (hash_fold_t : Ppx_hash_lib.Std.Hash.state -> t -> Ppx_hash_lib.Std.Hash.state) = hash_fold_unit and (hash : t -> Ppx_hash_lib.Std.Hash.hash_value) = let func = hash_unit in fun x -> func x ;; let t_of_sexp = (unit_of_sexp : Sexplib0.Sexp.t -> t) let sexp_of_t = (sexp_of_unit : t -> Sexplib0.Sexp.t) let (t_sexp_grammar : t Sexplib0.Sexp_grammar.t) = unit_sexp_grammar [@@@end] let compare _ _ = 0 let compare__local _ _ = 0 let equal__local _ _ = true let of_string = function | "()" -> () | _ -> failwith "Base.Unit.of_string: () expected" ;; let to_string () = "()" let module_name = "Base.Unit" end include T include Identifiable.Make (T) let invariant () = ()
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>