Skip to content
Snippets Groups Projects
Commit 66dac8e0 authored by Iustin Pop's avatar Iustin Pop
Browse files

Fix haddock issues with tuple members


It seems that haddock cannot document tuple members - but arguably, once
one needs to do that, tuples should not be used anymore.

This just moves the comments to the tuple comment.

Signed-off-by: default avatarIustin Pop <iustin@google.com>
Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
parent ca2843dc
No related branches found
No related tags found
No related merge requests found
......@@ -53,13 +53,10 @@ type NameAssoc = [(String, Int)]
-- | A separate name for the cluster score type.
type Score = Double
-- | The description of an instance placement.
type Placement = ( Idx -- ^ The index of the instance being moved
, Ndx -- ^ New primary node
, Ndx -- ^ New secondary node
, IMove -- ^ The move being performed
, Score -- ^ The score of the cluster after this move
)
-- | The description of an instance placement. It contains the
-- instance index, the new primary and secondary node, the move being
-- performed and the score of the cluster after the move.
type Placement = (Idx, Ndx, Ndx, IMove, Score)
-- | An instance move definition
data IMove = Failover -- ^ Failover the instance (f)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment