Module Patterns.HeadSource
Source
type desc = | Any| Construct of Types.constructor_description| Constant of Typedtree.constant| Unboxed_unit| Unboxed_bool of bool| Tuple of string option list| Unboxed_tuple of (string option * Jkind.sort) list| Record of Types.label_description list| Record_unboxed_product of Types.unboxed_label_description list| Variant of {tag : Ocaml_parsing.Asttypes.label;has_arg : bool;cstr_row : Types.row_desc ref;type_row : unit -> Types.row_desc;
}| Array of Types.mutability * Jkind.sort * int| Lazy
deconstruct p returns the head of p and the list of sub patterns.
reconstructs a pattern, putting wildcards as sub-patterns.