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
/
Char8.hs
diff --git
a/Data/ByteString/Char8.hs
b/Data/ByteString/Char8.hs
index
03b492d
..
bbbf521
100644
(file)
--- a/
Data/ByteString/Char8.hs
+++ b/
Data/ByteString/Char8.hs
@@
-585,7
+585,7
@@
spanChar = B.spanByte . c2w
-- 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