Refactor uses of `partitionEithers . map`
This patch changes occurences of the idiom `partitionEithers (map f xs)` by the simpler form `partitionWith f xs` where `partitionWith` is the utility function defined in `GHC.Utils.Misc`. Resolves: #23953
Showing
- compiler/GHC/Cmm/DebugBlock.hs 2 additions, 3 deletionscompiler/GHC/Cmm/DebugBlock.hs
- compiler/GHC/HsToCore/Pmc/Solver.hs 1 addition, 2 deletionscompiler/GHC/HsToCore/Pmc/Solver.hs
- compiler/GHC/Linker/Deps.hs 1 addition, 2 deletionscompiler/GHC/Linker/Deps.hs
- compiler/GHC/Runtime/Eval.hs 1 addition, 2 deletionscompiler/GHC/Runtime/Eval.hs
- compiler/GHC/StgToJS/Expr.hs 4 additions, 3 deletionscompiler/GHC/StgToJS/Expr.hs
- compiler/GHC/StgToJS/Sinker.hs 2 additions, 2 deletionscompiler/GHC/StgToJS/Sinker.hs
- compiler/GHC/Unit/Module/Graph.hs 2 additions, 2 deletionscompiler/GHC/Unit/Module/Graph.hs
Loading
Please register or sign in to comment