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 = consolidateStyles $ go Width ++ go Height
|
||||
where
|
||||
consolidateStyles :: [(String, String)] -> [(String, String)]
|
||||
consolidateStyles xs =
|
||||
case partition isStyle xs of
|
||||
([], _) -> xs
|
||||
|
|
Loading…
Reference in a new issue