projects
/
haskell-directory.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix example in docs
[haskell-directory.git]
/
Data
/
ByteString
/
Lazy.hs
diff --git
a/Data/ByteString/Lazy.hs
b/Data/ByteString/Lazy.hs
index
92c28a8
..
fff9bab
100644
(file)
--- a/
Data/ByteString/Lazy.hs
+++ b/
Data/ByteString/Lazy.hs
@@
-801,7
+801,7
@@
splitWith p (LPS (a:as)) = comb [] (P.splitWith p a) as
-- argument, consuming the delimiter. I.e.
--
-- > split '\n' "a\nb\nd\ne" == ["a","b","d","e"]
--- > split 'a' "aXaXaXa" == ["","X","X","X"]
+-- > split 'a' "aXaXaXa" == ["","X","X","X",""]
-- > split 'x' "x" == ["",""]
--
-- and