From 95991c558b5e046a4e6a04c060c06fe3720b468c Mon Sep 17 00:00:00 2001 From: bouzuya Date: Fri, 14 Dec 2018 18:06:11 +0900 Subject: [PATCH] fix comment --- src/Data/Maybe/First.purs | 2 +- src/Data/Maybe/Last.purs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Data/Maybe/First.purs b/src/Data/Maybe/First.purs index 4ab8e75..d99f96e 100644 --- a/src/Data/Maybe/First.purs +++ b/src/Data/Maybe/First.purs @@ -15,7 +15,7 @@ import Data.Ord (class Ord1) -- | ``` purescript -- | First (Just x) <> First (Just y) == First (Just x) -- | First Nothing <> First (Just y) == First (Just y) --- | First Nothing <> Nothing == First Nothing +-- | First Nothing <> First Nothing == First Nothing -- | mempty :: First _ == First Nothing -- | ``` newtype First a = First (Maybe a) diff --git a/src/Data/Maybe/Last.purs b/src/Data/Maybe/Last.purs index 0ae7eb5..8aa6157 100644 --- a/src/Data/Maybe/Last.purs +++ b/src/Data/Maybe/Last.purs @@ -14,8 +14,8 @@ import Data.Ord (class Ord1) -- | -- | ``` purescript -- | Last (Just x) <> Last (Just y) == Last (Just y) --- | Last (Just x) <> Nothing == Last (Just x) --- | Last Nothing <> Nothing == Last Nothing +-- | Last (Just x) <> Last Nothing == Last (Just x) +-- | Last Nothing <> Last Nothing == Last Nothing -- | mempty :: Last _ == Last Nothing -- | ``` newtype Last a = Last (Maybe a)