Add a type sig to satisfy ghc 7.10.3.
This commit is contained in:
parent
2e26046e13
commit
22a4adf4ec
1 changed files with 1 additions and 0 deletions
|
@ -571,6 +571,7 @@ imgAttrsToHtml opts attr = do
|
||||||
dimensionsToAttrList :: Attr -> [(String, String)]
|
dimensionsToAttrList :: Attr -> [(String, String)]
|
||||||
dimensionsToAttrList attr = consolidateStyles $ go Width ++ go Height
|
dimensionsToAttrList attr = consolidateStyles $ go Width ++ go Height
|
||||||
where
|
where
|
||||||
|
consolidateStyles :: [(String, String)] -> [(String, String)]
|
||||||
consolidateStyles xs =
|
consolidateStyles xs =
|
||||||
case partition isStyle xs of
|
case partition isStyle xs of
|
||||||
([], _) -> xs
|
([], _) -> xs
|
||||||
|
|
Loading…
Add table
Reference in a new issue