package links
Facilities for optional debugging messages.
val debugging_enabled : bool Settings.setting
val f : ('a, unit, string, unit) format4 -> 'a
printf-style debugging
val if_set : bool Settings.setting -> (unit -> string) -> unit
if_set setting message
: print message()
if debugging is enabled and setting
is on.
val if_set_l : bool Settings.setting -> string lazy_t -> unit
if_set_l setting message
: print message
(a lazy expr) if debugging is enabled and setting
is on.
debug_time msg f
: run f()
and measure running time; print msg
with time and return result
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>