Skip to content
Permalink
Browse files
nicer formatting of sets
  • Loading branch information
bartekgorny committed Mar 6, 2019
1 parent 75d70c7 commit 4e7c387a4c123e2d2d92ef9547b534d99a3f64e4
Showing 1 changed file with 2 additions and 0 deletions.
@@ -99,6 +99,8 @@ limit(Name, Arity, Limit) ->

%% @private if a tuple is a known record, formats is as "#recname{field=value}", otherwise returns
%% just a printout of a tuple.
format_tuple(Tuple) when element(1, Tuple) == set ->
["set:", recon_trace:format_trace_output(true, sets:to_list(Tuple))];
format_tuple(Tuple) ->
ensure_table_exists(),
First = element(1, Tuple),

0 comments on commit 4e7c387

Please sign in to comment.