on master help sign in
Clean up show instance for Translation
commit665255e2bd80f0fcac5989ece0feef31083d5ca3 authorBen Boeckel <MathStuf@gmail.com> dateSat 2 Apr 2011, 00:27 (16 years ago) parent7bb8426
1 file changed+1−1
src/Graphics/Vty/Image.hs+1−1
src/Graphics/Vty/Image.hs+1−1
@@ -111,7 +111,7 @@ instance Show Image where
111111 show ( VertJoin { part_top = t, part_bottom = b, output_width = c, output_height = r } )
112112 = "VertJoin (" ++ show c ++ ", " ++ show r ++ ") ( " ++ show t ++ " ) <-> ( " ++ show b ++ " )"
113113 show ( Translation offset i )
114− = "Translation ( " ++ show offset ++ ", " ++ show i ++ " )"
114+ = "Translation " ++ show offset ++ " ( " ++ show i ++ " )"
115115 show ( EmptyImage ) = "EmptyImage"
116116
117117-- | Currently append in the Monoid instance is equivalent to <->. Future versions will just stack