# Module Ast_helper.Pat

    module Pat: sig .. end

Patterns

    val mk : ?loc:Ast_helper.loc ->
           ?attrs:Ast_helper.attrs -> Parsetree.pattern_desc -> Parsetree.pattern

    val attr : Parsetree.pattern -> Parsetree.attribute -> Parsetree.pattern

    val any : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs -> unit -> Parsetree.pattern

    val var : ?loc:Ast_helper.loc ->
           ?attrs:Ast_helper.attrs -> Ast_helper.str -> Parsetree.pattern

    val alias : ?loc:Ast_helper.loc ->
           ?attrs:Ast_helper.attrs ->
           Parsetree.pattern -> Ast_helper.str -> Parsetree.pattern

    val constant : ?loc:Ast_helper.loc ->
           ?attrs:Ast_helper.attrs -> Parsetree.constant -> Parsetree.pattern

    val interval : ?loc:Ast_helper.loc ->
           ?attrs:Ast_helper.attrs ->
           Parsetree.constant -> Parsetree.constant -> Parsetree.pattern

    val tuple : ?loc:Ast_helper.loc ->
           ?attrs:Ast_helper.attrs ->
           (string option * Parsetree.pattern) list ->
           Asttypes.closed_flag -> Parsetree.pattern

    val construct : ?loc:Ast_helper.loc ->
           ?attrs:Ast_helper.attrs ->
           Ast_helper.lid ->
           (Ast_helper.str list * Parsetree.pattern) option -> Parsetree.pattern

    val variant : ?loc:Ast_helper.loc ->
           ?attrs:Ast_helper.attrs ->
           Asttypes.label -> Parsetree.pattern option -> Parsetree.pattern

    val record : ?loc:Ast_helper.loc ->
           ?attrs:Ast_helper.attrs ->
           (Ast_helper.lid * Parsetree.pattern) list ->
           Asttypes.closed_flag -> Parsetree.pattern

    val array : ?loc:Ast_helper.loc ->
           ?attrs:Ast_helper.attrs -> Parsetree.pattern list -> Parsetree.pattern

    val or_ : ?loc:Ast_helper.loc ->
           ?attrs:Ast_helper.attrs ->
           Parsetree.pattern -> Parsetree.pattern -> Parsetree.pattern

    val constraint_ : ?loc:Ast_helper.loc ->
           ?attrs:Ast_helper.attrs ->
           Parsetree.pattern -> Parsetree.core_type -> Parsetree.pattern

    val type_ : ?loc:Ast_helper.loc ->
           ?attrs:Ast_helper.attrs -> Ast_helper.lid -> Parsetree.pattern

    val lazy_ : ?loc:Ast_helper.loc ->
           ?attrs:Ast_helper.attrs -> Parsetree.pattern -> Parsetree.pattern

    val unpack : ?loc:Ast_helper.loc ->
           ?attrs:Ast_helper.attrs ->
           Ast_helper.str_opt -> Parsetree.package_type option -> Parsetree.pattern

    val open_ : ?loc:Ast_helper.loc ->
           ?attrs:Ast_helper.attrs ->
           Ast_helper.lid -> Parsetree.pattern -> Parsetree.pattern

    val exception_ : ?loc:Ast_helper.loc ->
           ?attrs:Ast_helper.attrs -> Parsetree.pattern -> Parsetree.pattern

    val effect_ : ?loc:Ast_helper.loc ->
           ?attrs:Ast_helper.attrs ->
           Parsetree.pattern -> Parsetree.pattern -> Parsetree.pattern

    val extension : ?loc:Ast_helper.loc ->
           ?attrs:Ast_helper.attrs -> Parsetree.extension -> Parsetree.pattern