package ecaml
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Library for writing Emacs plugin in OCaml
Install
dune-project
Dependency
Authors
Maintainers
Sources
ecaml-v0.14.0.tar.gz
sha256=ca97b30782e1b9fc42ccd54ba6afd60a7eb1087b56f3e21076ae33abfa638dfa
md5=ecae1a972130cd93c64eecc1ed71cad1
doc/src/ecaml.ecaml_value/feature.ml.html
Source file feature.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19open! Core_kernel open! Import module Q = struct let require = "require" |> Symbol.intern end type t = Symbol.t let require = let seen = Hashtbl.create (module String) in fun t -> let name = Symbol.name t in let seen = Hashtbl.find_or_add seen name ~default:(fun () -> ref []) in if not (List.mem !seen t ~equal:Symbol.equal) then ( seen := t :: !seen; Symbol.funcall1_i Q.require (t |> Symbol.to_value)) ;;
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>