From 55221a8aede4126a52fcde00d61961eaf3495780 Mon Sep 17 00:00:00 2001 From: Wojciech Kaczmarek Date: Tue, 19 Jan 2016 00:14:53 +0100 Subject: [PATCH] var naming simplified inside for-expr --- lib/runner.ex | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/runner.ex b/lib/runner.ex index 74b8963..5189fc2 100644 --- a/lib/runner.ex +++ b/lib/runner.ex @@ -40,9 +40,9 @@ defmodule Reprise.Runner do @spec beam_modules([beam]) :: [{beam, module}] def beam_modules(beams \\ __MODULE__.beams) do beamset = beams |> Enum.into(HashSet.new) - for {m,f0} <- :code.all_loaded, - is_list(f0), - f = Path.expand(f0), + for {m,f} <- :code.all_loaded, + is_list(f), + f = Path.expand(f), Set.member?(beamset, f), do: {f,m} end