Haddock writer: Only use Decimal list style.

This commit is contained in:
John MacFarlane 2014-06-18 18:11:01 -07:00
parent c4182b39ca
commit de7b3a3d08

View file

@ -152,8 +152,8 @@ blockToHaddock opts (Table caption aligns widths headers rows) = do
blockToHaddock opts (BulletList items) = do
contents <- mapM (bulletListItemToHaddock opts) items
return $ cat contents <> blankline
blockToHaddock opts (OrderedList (start,sty,delim) items) = do
let attribs = (start, sty, delim)
blockToHaddock opts (OrderedList (start,_,delim) items) = do
let attribs = (start, Decimal, delim)
let markers = orderedListMarkers attribs
let markers' = map (\m -> if length m < 3
then m ++ replicate (3 - length m) ' '