You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Repeated traversal — same variable traversed by 2+ different Enum functions (e.g. Enum.max(list) + Enum.min(list)); suggests Enum.reduce/3.
Nested enum — Enum.member?/2 nested inside Enum.map/filter/etc on the same variable (O(n²)); suggests MapSet.
Multiple Enum.at — 3+ Enum.at/2 calls on the same variable with literal indices; suggests pattern matching.
Append in recursion — ++ [item] in recursive tail calls (O(n²)); suggests prepend + reverse.
Piped Regex.replace — text |> Regex.replace(~r/.../, "") where the pipe puts the string in the regex position; uses the new ExAST piped() predicate to avoid false positives on direct calls.