lists:suffix/2

This commit is contained in:
Simon MacMullen 2010-09-02 14:00:23 +01:00
parent b03ff74543
commit 6c9acdb12e
1 changed files with 1 additions and 4 deletions

View File

@ -454,7 +454,4 @@ maybe_zero_rate({Key, Val}) ->
end.
is_details(Key) ->
case lists:reverse(atom_to_list(Key)) of
"sliated_" ++ _ -> true; %% "_details" backwards
_ -> false
end.
lists:suffix("_details", atom_to_list(Key)).