Skip to content
Snippets Groups Projects
Commit e1ef8974 authored by Mike Pilgrem's avatar Mike Pilgrem Committed by Marge Bot
Browse files

Translate iff in Haddock documentation into everyday English

parent 3b3a5dec
No related branches found
No related tags found
No related merge requests found
......@@ -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__
--
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment