package devkit
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Development kit - general purpose library
Install
dune-project
Dependency
Authors
Maintainers
Sources
1.20261006.tar.gz
md5=a39dbbce04bd5562a9b4443daf39c582
sha512=b10104b61384b2151521b785e7f3c3250134c75eae09b42cad69bc4a22a9a5e429beb891ee87cedf376c23d9c40f09d3f71c3fd48aa35df490c0f69dc17f3242
doc/devkit.core/Devkit_core/Prelude/index.html
Module Devkit_core.PreludeSource
Useful shortcuts
module U = ExtUnix.Specificfunction composition : f $ g is equivalent to (fun x -> f (g x))
2-function composition : f $$ g is equivalent to (fun x y -> f (g x) (g y))
1-argument function composition combinators that allow quickly switching to or from point-free chained function pipeline e.g. let inc s = string_of_int @@ (+) 1 @@ int_of_string s vs let inc = F1.(string_of_int @@ (+) 1 @@ int_of_string) and similarly let inc = F1.(int_of_string |> (+) 1 |> string_of_int)
identity
idem
reverse arguments, flip f x y is equivalent to f y x
map over 2-tuple
some x is equivalent to Some x
atoi name value
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>