Skip to content

Commit 088e13b

Browse files
committed
Merge pull request #1 from purescript/show
Fix show instance
2 parents e96262a + 975e8c4 commit 088e13b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Data/Maybe.purs

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ module Data.Maybe where
3838
instance monadMaybe :: Monad Maybe
3939

4040
instance showMaybe :: (Show a) => Show (Maybe a) where
41-
show (Just x) = "Just " ++ (show x)
41+
show (Just x) = "Just (" ++ show x ++ ")"
4242
show Nothing = "Nothing"
4343

4444
instance eqMaybe :: (Eq a) => Eq (Maybe a) where

0 commit comments

Comments
 (0)