From: Siraaj Khandkar Date: Sun, 4 Oct 2015 05:42:02 +0000 (-0400) Subject: Improve indentation consistency of list interleave. X-Git-Tag: 1.0.0~4 X-Git-Url: https://git.xandkar.net/?a=commitdiff_plain;h=aef1a4a793faf7d596427433afb479ff34cc7d19;p=beam_stats.git Improve indentation consistency of list interleave. --- diff --git a/src/beam_stats_msg_graphite.erl b/src/beam_stats_msg_graphite.erl index 5b8bd43..1cade91 100644 --- 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)].