Skip to content

Commit cb60199

Browse files
committed
Merge pull request #12 from DavidHarrison/patch-2
Align comments with behaviour of semigroupMaybe
2 parents 8b45d19 + e3f448f commit cb60199

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Data/Maybe.purs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,8 +199,8 @@ instance invariantMaybe :: Invariant Maybe where
199199
-- |
200200
-- | ``` purescript
201201
-- | Just x <> Just y = Just (x <> y)
202-
-- | Just x <> Nothing = Just x
203-
-- | Nothing <> Just y = Just y
202+
-- | Just x <> Nothing = Nothing
203+
-- | Nothing <> Just y = Nothing
204204
-- | Nothing <> Nothing = Nothing
205205
-- | ```
206206
instance semigroupMaybe :: (Semigroup a) => Semigroup (Maybe a) where

0 commit comments

Comments
 (0)