
Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC Commits: e1ef8974 by Mike Pilgrem at 2025-05-16T16:09:14-04:00 Translate iff in Haddock documentation into everyday English - - - - - 1 changed file: - libraries/ghc-internal/src/GHC/Internal/Data/Maybe.hs Changes: ===================================== libraries/ghc-internal/src/GHC/Internal/Data/Maybe.hs ===================================== @@ -79,8 +79,8 @@ maybe :: b -> (a -> b) -> Maybe a -> b maybe n _ Nothing = n maybe _ f (Just x) = f x --- | The 'isJust' function returns 'True' iff its argument is of the --- form @Just _@. +-- | 'isJust' @x@ returns 'True' when @x@ is of the form @Just _@ and 'False' +-- otherwise. -- -- ==== __Examples__ -- @@ -104,7 +104,7 @@ isJust :: Maybe a -> Bool isJust Nothing = False isJust _ = True --- | The 'isNothing' function returns 'True' iff its argument is 'Nothing'. +-- | 'isNothing' @x@ returns 'True' when @x@ is 'Nothing' and 'False' otherwise. -- -- ==== __Examples__ -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/e1ef89747d47f758581ff70c7139da76... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/e1ef89747d47f758581ff70c7139da76... You're receiving this email because of your account on gitlab.haskell.org.