Skip to content

Commit 4cab01c

Browse files
committed
Merge pull request #2 from purescript/show
Make show produce valid code
2 parents 4cadab8 + 54c0111 commit 4cab01c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Data/Tuple.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import Data.Monoid
66
data Tuple a b = Tuple a b
77

88
instance showTuple :: (Show a, Show b) => Show (Tuple a b) where
9-
show (Tuple a b) = "Tuple(" ++ show a ++ ", " ++ show b ++ ")"
9+
show (Tuple a b) = "Tuple (" ++ show a ++ ") (" ++ show b ++ ")"
1010

1111
instance eqTuple :: (Eq a, Eq b) => Eq (Tuple a b) where
1212
(==) (Tuple a1 b1) (Tuple a2 b2) = a1 == a2 && b1 == b2

0 commit comments

Comments
 (0)