Simplify Cluster.computeMoves
authorIustin Pop <iustin@google.com>
Mon, 6 Jul 2009 21:13:15 +0000 (23:13 +0200)
committerIustin Pop <iustin@google.com>
Mon, 6 Jul 2009 21:13:15 +0000 (23:13 +0200)
commit41c3b292188e3c8cebe6cb03b5001620865752ea
tree80656c71181fde13d9b02d488e1fd9391ee80248
parent9f6dcdeab5e95b5a07fd90a206761b2873eb970a
Simplify Cluster.computeMoves

This patch changes the function Cluster.computeMoves to use guards and a
couple of subexpressions in order to greatly simplify it.
Ganeti/HTools/Cluster.hs