These are just random cleanup patches. While preparing the hail changes, I found some things which could be made cleaner, so…
Iustin Pop (6): Convert some leftovers to NameAssoc Loader functions: move from assoc lists to maps Rework the types used during data loading Add two utility functions for the Result type AllocElement: extend with the cluster score Cleanup AllocSolution after AllocElement changes Ganeti/HTools/Cluster.hs | 45 ++++++++++++++---------------- Ganeti/HTools/IAlloc.hs | 6 ++-- Ganeti/HTools/Loader.hs | 54 ++++++++++++++++--------------------- Ganeti/HTools/Luxi.hs | 6 ++-- Ganeti/HTools/Node.hs | 2 +- Ganeti/HTools/QC.hs | 66 +++++++++++++++++---------------------------- Ganeti/HTools/Rapi.hs | 8 +++--- Ganeti/HTools/Simu.hs | 9 +++--- Ganeti/HTools/Text.hs | 8 +++--- Ganeti/HTools/Types.hs | 15 ++++++++++- hail.hs | 8 +++--- hscan.hs | 2 +- 12 files changed, 109 insertions(+), 120 deletions(-) -- 1.7.2.3
