Credence.Pattern.NoNestedEnumOnSameEnumerableUnfixable
(credence v0.4.3)
Copy Markdown
Detects nested Enum.* calls operating on the same enumerable
where the inner call cannot be safely auto-fixed.
Covers patterns such as:
Enum.filterinsideEnum.mapwith a cross-referencing lambda parameterEnum.count/Enum.find/Enum.any?/ … inside a traversal
These require manual restructuring (e.g. precomputation, a single
Enum.reduce/3 pass, or a MapSet-based approach).