Commit 087f90ad authored by MARCHE Claude's avatar MARCHE Claude
Browse files

[interp] pretty-print tuples

parent 02ea4c94
......@@ -77,6 +77,9 @@ let rec print_value fmt v =
i := BigInt.succ !i
done;
fprintf fmt "]@]"
| Vapp(ls,vl) when is_fs_tuple ls ->
fprintf fmt "@[(%a)@]"
(Pp.print_list Pp.comma print_value) vl
| Vapp(ls,vl) ->
fprintf fmt "@[%a(%a)@]"
Pretty.print_ls ls (Pp.print_list Pp.comma print_value) vl
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment