home
/
code
/
beam_stats.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1221e4
)
Improve indentation consistency of list interleave.
author
Siraaj Khandkar
<siraaj@khandkar.net>
Sun, 4 Oct 2015 05:42:02 +0000
(
01:42
-0400)
committer
Siraaj Khandkar
<siraaj@khandkar.net>
Sun, 4 Oct 2015 05:42:02 +0000
(
01:42
-0400)
src/beam_stats_msg_graphite.erl
patch
|
blob
|
blame
|
history
diff --git
a/src/beam_stats_msg_graphite.erl
b/src/beam_stats_msg_graphite.erl
index
5b8bd43
..
1cade91
100644
(file)
--- a/
src/beam_stats_msg_graphite.erl
+++ b/
src/beam_stats_msg_graphite.erl
@@
-111,8
+111,10
@@
schema_version() ->
-spec interleave([A], A) ->
[A].
-interleave([], _) -> [];
-interleave([X], _) -> [X];
+interleave([], _) ->
+ [];
+interleave([X], _) ->
+ [X];
interleave([X|Xs], Sep) ->
[X, Sep | interleave(Xs, Sep)].
This page took
0.029216 seconds
and
4
git commands to generate.