projects
/
ghc-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f127e5a
)
Fix ` characters in elem's haddock docs
author
Ian Lynagh
<igloo@earth.li>
Sat, 10 Nov 2007 17:30:52 +0000
(17:30 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Sat, 10 Nov 2007 17:30:52 +0000
(17:30 +0000)
GHC/List.lhs
patch
|
blob
|
history
diff --git
a/GHC/List.lhs
b/GHC/List.lhs
index
ce13f46
..
44aacf8
100644
(file)
--- a/
GHC/List.lhs
+++ b/
GHC/List.lhs
@@
-524,7
+524,7
@@
all p (x:xs) = p x && all p xs
#endif
-- | 'elem' is the list membership predicate, usually written in infix form,
#endif
-- | 'elem' is the list membership predicate, usually written in infix form,
--- e.g., @x `elem` xs@.
+-- e.g., @x \`elem\` xs@.
elem :: (Eq a) => a -> [a] -> Bool
-- | 'notElem' is the negation of 'elem'.
elem :: (Eq a) => a -> [a] -> Bool
-- | 'notElem' is the negation of 'elem'.