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/Patterns/Head/index.html
Module Patterns.Head
type desc =
| Any
| Construct of Types.constructor_description
| Constant of Asttypes.constant
| Tuple of int
| Record of Types.label_description list
| Variant of {
tag : Asttypes.label;
has_arg : bool;
cstr_row : Types.row_desc ref;
type_row : unit -> Types.row_desc;
}
| Array of int
| Lazy
type t = desc Typedtree.pattern_data
val arity : t -> int
val deconstruct : Simple.pattern -> t * Typedtree.pattern list
deconstruct p
returns the head of p
and the list of sub patterns.
val to_omega_pattern : t -> Typedtree.pattern
reconstructs a pattern, putting wildcards as sub-patterns.
val omega : t
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>