package ocaml-base-compiler
Official release 5.2.1
Install
Dune Dependency
Authors
Maintainers
Sources
ocaml-5.2.1.tar.gz
sha256=2d0f8090951a97a2c0e5b8a11e90096c0e1791d2e471e4a67f87e3b974044cd0
doc/compiler-libs.common/Shape_reduce/index.html
Module Shape_reduce
type result =
| Resolved of Shape.Uid.t
(*Shape reduction succeeded and a uid was found
*)| Resolved_alias of Shape.Uid.t * result
(*Reduction led to an alias
*)| Unresolved of Shape.t
(*Result still contains
*)Comp_unit
terms| Approximated of Shape.Uid.t option
(*Reduction failed: it can arrive with first-class modules for example
*)| Internal_error_missing_uid
(*Reduction succeeded but no uid was found, this should never happen
*)
The result of reducing a shape and looking for its uid
val print_result : Format.formatter -> result -> unit
The Make
functor is used to generate a reduction function for shapes.
local_reduce
will not reduce shapes that require loading external compilation units.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>