We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16dffdf commit 9cdb770Copy full SHA for 9cdb770
compiler/ml/printtyped.ml
@@ -285,8 +285,11 @@ and expression i ppf x =
285
line i ppf "Texp_let %a\n" fmt_rec_flag rf;
286
list i value_binding ppf l;
287
expression i ppf e
288
- | Texp_function {arg_label = p; param; case = case_; partial = _} ->
+ | Texp_function {arg_label = p; arity; param; case = case_; partial = _} ->
289
line i ppf "Texp_function\n";
290
+ (match arity with
291
+ | Some arity -> line i ppf "arity: %d\n" arity
292
+ | None -> ());
293
line i ppf "%a" Ident.print param;
294
arg_label i ppf p;
295
case i ppf case_
0 commit comments