package base
Full standard library replacement for OCaml
Install
Dune Dependency
Authors
Maintainers
Sources
v0.16.3.tar.gz
md5=04572fc23a4651604cfcab83f720cb4c
sha512=69380ed392faf4495459f97f70a10a6959fce71d2e6ba093472fc272141646307fd7872407de855dfa48ef0435f6587eae5aa50f4a67eac40a9e1946d0c3c070
doc/base/Base/Fn/index.html
Module Base.Fn
Source
Various combinators for functions.
A "pipe" operator. x |> f
is equivalent to f x
.
See ppx_pipebang for further details.
Produces a function that just returns its first argument.
Ignores its argument and returns ()
.
Negates a boolean function.
forever f
runs f ()
until it throws an exception and returns the exception. This function is useful for read_line loops, etc.
apply_n_times ~n f x
is the n
-fold application of f
to x
.
The identity function.
See also: Sys.opaque_identity
.
compose f g x
is f (g x)
.
Reverses the order of arguments for a binary function.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>