Module Patterns.Head
type desc = | Any| Construct of Ocaml_typing.Types.constructor_description| Constant of Ocaml_typing.Typedtree.constant| Tuple of string option list| Unboxed_tuple of (string option * Ocaml_typing.Jkind.sort) list| Record of Ocaml_typing.Types.label_description list| Record_unboxed_product of Ocaml_typing.Types.unboxed_label_description list| Variant of {tag : Ocaml_parsing.Asttypes.label;has_arg : bool;cstr_row : Ocaml_typing.Types.row_desc Stdlib.ref;type_row : unit -> Ocaml_typing.Types.row_desc;
}| Array of Ocaml_typing.Types.mutability * Ocaml_typing.Jkind.sort * int| Lazy
val arity : Ocaml_typing.Patterns.Head.t -> intval deconstruct :
Ocaml_typing.Patterns.Simple.pattern ->
Ocaml_typing.Patterns.Head.t * Ocaml_typing.Typedtree.pattern listdeconstruct p returns the head of p and the list of sub patterns.
val to_omega_pattern :
Ocaml_typing.Patterns.Head.t ->
Ocaml_typing.Typedtree.patternreconstructs a pattern, putting wildcards as sub-patterns.
val omega : Ocaml_typing.Patterns.Head.t