From 7c50aaf5bedbb5bf1be2074d40500832e0872106 Mon Sep 17 00:00:00 2001 From: Antonio Nuno Monteiro Date: Thu, 26 Oct 2023 19:10:28 -0700 Subject: [PATCH] chore: add intf file for polyvar_pattern_match (#842) --- jscomp/core/polyvar_pattern_match.mli | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 jscomp/core/polyvar_pattern_match.mli diff --git a/jscomp/core/polyvar_pattern_match.mli b/jscomp/core/polyvar_pattern_match.mli new file mode 100644 index 0000000000..d930a9c12a --- /dev/null +++ b/jscomp/core/polyvar_pattern_match.mli @@ -0,0 +1,21 @@ +val make_test_sequence_variant_constant : + Lambda.lambda option -> + Lambda.lambda -> + (int * (string * Lambda.lambda)) list -> + Lambda.lambda + +val call_switcher_variant_constant : + Lambda.scoped_location -> + Lambda.lambda option -> + Lambda.lambda -> + (int * (string * Lambda.lambda)) list -> + Lambda.switch_names option -> + Lambda.lambda + +val call_switcher_variant_constr : + Lambda.scoped_location -> + Lambda.lambda option -> + Lambda.lambda -> + (int * (string * Lambda.lambda)) list -> + Lambda.switch_names option -> + Lambda.lambda