Fix hlint-generated warnings
This big patch cleans up the code per hlint indications. Many removals of extra parentheses, replacements of concat . map with concabtMap, extra dollar signs, eta reductions, etc. were performed. The code still compiles and passes a couple of manual tests on sample files. The individual changes are also small enough as to be visually easy to confirm.
Showing
- Ganeti/HTools/CLI.hs 3 additions, 3 deletionsGaneti/HTools/CLI.hs
- Ganeti/HTools/Cluster.hs 36 additions, 36 deletionsGaneti/HTools/Cluster.hs
- Ganeti/HTools/Container.hs 3 additions, 3 deletionsGaneti/HTools/Container.hs
- Ganeti/HTools/IAlloc.hs 16 additions, 16 deletionsGaneti/HTools/IAlloc.hs
- Ganeti/HTools/Loader.hs 21 additions, 22 deletionsGaneti/HTools/Loader.hs
- Ganeti/HTools/Node.hs 35 additions, 35 deletionsGaneti/HTools/Node.hs
- Ganeti/HTools/PeerMap.hs 3 additions, 3 deletionsGaneti/HTools/PeerMap.hs
- Ganeti/HTools/QC.hs 2 additions, 2 deletionsGaneti/HTools/QC.hs
- Ganeti/HTools/Rapi.hs 14 additions, 20 deletionsGaneti/HTools/Rapi.hs
- Ganeti/HTools/Text.hs 3 additions, 3 deletionsGaneti/HTools/Text.hs
- Ganeti/HTools/Utils.hs 8 additions, 8 deletionsGaneti/HTools/Utils.hs
- hail.hs 12 additions, 13 deletionshail.hs
- hbal.hs 17 additions, 17 deletionshbal.hs
- hscan.hs 6 additions, 6 deletionshscan.hs
- hspace.hs 16 additions, 16 deletionshspace.hs
Loading
Please register or sign in to comment