package ocaml-base-compiler
Official release 4.14.2
Install
Dune Dependency
Authors
Maintainers
Sources
4.14.2.tar.gz
sha256=c2d706432f93ba85bd3383fa451d74543c32a4e84a1afaf3e8ace18f7f097b43
doc/ocamlcommon/Shape/Make_reduce/index.html
Module Shape.Make_reduce
The Make_reduce
functor is used to generate a reduction function for shapes.
It is parametrized by:
- an environment and a function to find shapes by path in that environment
- a function to load the shape of an external compilation unit
- some fuel, which is used to bound recursion when dealing with recursive shapes introduced by recursive modules. (FTR: merlin currently uses a fuel of 10, which seems to be enough for most practical examples)
Parameters
module Context : sig ... end
Signature
val reduce : Context.env -> t -> t
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page