Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
Format nested functions properly
  • Loading branch information
davisp committed Aug 23, 2014
1 parent d069665 commit 1461beb1acd912276d40d72113362b0a9905c4c0
Showing 1 changed file with 10 additions and 10 deletions.
@@ -36,16 +36,16 @@ transform_stats([{Key, Props} | Rest], Acc) ->
transform_stat(counter, Props) ->
Props;
transform_stat(histogram, Props) ->
lists:map(
fun({value, Value}) ->
{value, lists:map(
fun({Key, List}) when Key == percentile; Key == histogram ->
{Key, [tuple_to_list(Item) || Item <- List]};
(Else) ->
Else
end, Value)};
(Else) ->
Else
lists:map(fun
({value, Value}) ->
{value, lists:map(fun
({Key, List}) when Key == percentile; Key == histogram ->
{Key, [tuple_to_list(Item) || Item <- List]};
(Else) ->
Else
end, Value)};
(Else) ->
Else
end, Props).


0 comments on commit 1461beb

Please sign in to comment.