Skip to content

Commit

Permalink
Fix a minor extraction issue
Browse files Browse the repository at this point in the history
  • Loading branch information
sonmarcho committed Dec 22, 2023
1 parent 20f7430 commit 29f358f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/Extract.ml
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@ and extract_Lambda (ctx : extraction_ctx) (fmt : F.formatter) (inside : bool)
ctx xl
in
F.pp_print_space fmt ();
if !backend = Lean then F.pp_print_string fmt "=>"
if !backend = Lean || !backend = Coq then F.pp_print_string fmt "=>"
else F.pp_print_string fmt "->";
F.pp_print_space fmt ();
(* Print the body *)
Expand Down

0 comments on commit 29f358f

Please sign in to comment.