lib: comment

This commit is contained in:
Simon Michael 2018-08-04 16:44:05 +01:00
parent e077aeff5f
commit efae8f8f2a

View File

@ -765,8 +765,7 @@ commodityStylesFromAmounts amts = M.fromList commstyles
commstyles = [(c, canonicalStyleFrom $ map astyle as) | (c,as) <- commamts]
-- | Given an ordered list of amount styles, choose a canonical style.
-- That is: the style of the first, and the
-- maximum precision of all.
-- That is: the style of the first, and the maximum precision of all.
canonicalStyleFrom :: [AmountStyle] -> AmountStyle
canonicalStyleFrom [] = amountstyle
canonicalStyleFrom ss@(first:_) =