5 ms·
Why not do_whatever(Keys, SomeParameter) -> lists:foreach(fun(Key) -> maybe_do_stuff(Key, SomeParameter) end, Keys). //... Still simple, wins a line,
by spdionis 10y ago
Why not
do_whatever(Keys, SomeParameter) ->
lists:foreach(fun(Key) -> maybe_do_stuff(Key, SomeParameter) end, Keys).
//...
Still simple, wins a line, removes the ugly ExecIfFound name