Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
bd77f371
Commit
bd77f371
authored
Mar 16, 2012
by
Joachim Breitner
Committed by
pcapriotti
Mar 19, 2012
Browse files
Fix typo in Data.List.(\\) documentation
parent
e1f950f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
libraries/base/Data/List.hs
View file @
bd77f371
...
...
@@ -376,7 +376,7 @@ deleteBy :: (a -> a -> Bool) -> a -> [a] -> [a]
deleteBy
_
_
[]
=
[]
deleteBy
eq
x
(
y
:
ys
)
=
if
x
`
eq
`
y
then
ys
else
y
:
deleteBy
eq
x
ys
-- | The '\\' function is list difference
(
(non-associative).
-- | The '\\' function is list difference (non-associative).
-- In the result of @xs@ '\\' @ys@, the first occurrence of each element of
-- @ys@ in turn (if any) has been removed from @xs@. Thus
--
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment