swap fields of Size
This commit is contained in:
parent
c30cb303ae
commit
14484184e3
1 changed files with 1 additions and 1 deletions
|
@ -230,7 +230,7 @@ nth n = [b|$^n$suf|] where
|
||||||
| otherwise = "th"
|
| otherwise = "th"
|
||||||
|
|
||||||
|
|
||||||
data Size = Size {height, width :: !Int} deriving (Eq, Show)
|
data Size = Size {width, height :: !Int} deriving (Eq, Show)
|
||||||
|
|
||||||
imageSize :: FilePath -> FilePath -> IO Size
|
imageSize :: FilePath -> FilePath -> IO Size
|
||||||
imageSize dir img = do
|
imageSize dir img = do
|
||||||
|
|
Loading…
Reference in a new issue