Skip to content

Commit 975e8c4

Browse files
committed
Fix show instance
1 parent e96262a commit 975e8c4

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)