package ocaml-base-compiler
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
val loc : t -> Location.t
val typ : t -> Types.type_expr
val deconstruct : Typedtree.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 make : loc:Location.t -> typ:Types.type_expr -> env:Env.t -> desc -> t
val omega : t
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>