Passing list values to a function

No I don’t want the side effect. Is there a way to use Enum.each without getting :ok ? Enum.each works perfect for my requirement except for the fact that it returns :ok