package refl
PPX deriver for reflection
Install
Dune Dependency
Authors
Maintainers
Sources
refl.0.4.1.tar.gz
sha512=d34dc88a84fdeecc7148fd148e99cb92a8c36770ada1b5bcd31e4965b16b671cfb921535c4ad09510b54d9e04857928bde40ac7e0d10b58ae12fc8bbeef25cb8
doc/src/ppx_refl/common.ml.html
Source file common.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
module OrderedLongident = struct type t = Longident.t let compare = compare end module LongidentSet = Set.Make (OrderedLongident) module StringSet = Set.Make (String) module StringMap = Map.Make (String) module StringHashtbl = Hashtbl.Make (struct type t = string let equal = String.equal let hash = Hashtbl.hash end) module IntSet = Set.Make (Int) module IntMap = Map.Make (Int) let subst_ident f (type_ident : Longident.t) : Longident.t = match type_ident with | Lident type_name -> Lident (f type_name) | Ldot (path, type_name) -> Ldot (path, f type_name) | Lapply _ -> invalid_arg "subst_ident"
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>