git.iko.soy/typeable/pandoc
on master help sign in
ImageSize: add derived Eq instance to Dimension
commitc1014167b5c3c2446be3c4e8d10f946979e0737b authorJesse Rosenthal <jrosenthal@jhu.edu> dateMon 15 Jan 2018, 12:39 (9 years ago) parentd987a9d
1 file changed+1
src/Text/Pandoc/ImageSize.hs+1
src/Text/Pandoc/ImageSize.hs+1
@@ -83,6 +83,7 @@ data Dimension = Pixel Integer
8383 | Inch Double
8484 | Percent Double
8585 | Em Double
86+ deriving Eq
8687
8788instance Show Dimension where
8889 show (Pixel a) = show a ++ "px"