Add a type sig to satisfy ghc 7.10.3.

This commit is contained in:
John MacFarlane 2017-08-29 09:04:59 -07:00
parent 2e26046e13
commit 22a4adf4ec

View file

@ -571,6 +571,7 @@ imgAttrsToHtml opts attr = do
dimensionsToAttrList :: Attr -> [(String, String)]
dimensionsToAttrList attr = consolidateStyles $ go Width ++ go Height
where
consolidateStyles :: [(String, String)] -> [(String, String)]
consolidateStyles xs =
case partition isStyle xs of
([], _) -> xs