projects
/
ghc-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
59d4a66
)
fix docs for isSpace
author
Simon Marlow
<marlowsd@gmail.com>
Thu, 24 Jun 2010 13:04:44 +0000
(13:04 +0000)
committer
Simon Marlow
<marlowsd@gmail.com>
Thu, 24 Jun 2010 13:04:44 +0000
(13:04 +0000)
GHC/Unicode.hs
patch
|
blob
|
history
diff --git
a/GHC/Unicode.hs
b/GHC/Unicode.hs
index
d90c96e
..
73e453a
100644
(file)
--- a/
GHC/Unicode.hs
+++ b/
GHC/Unicode.hs
@@
-63,8
+63,8
@@
isControl :: Char -> Bool
-- (letters, numbers, marks, punctuation, symbols and spaces).
isPrint :: Char -> Bool
-- (letters, numbers, marks, punctuation, symbols and spaces).
isPrint :: Char -> Bool
--- | Selects white-space characters in the Latin-1 range.
--- (In Unicode terms, this includes spaces and some control characters.)
+-- | Returns 'True' for any Unicode space character, and the control
+-- characters @\t@, @\\n@, @\\r@, @\\f@, @\\v@.
isSpace :: Char -> Bool
-- isSpace includes non-breaking space
-- Done with explicit equalities both for efficiency, and to avoid a tiresome
isSpace :: Char -> Bool
-- isSpace includes non-breaking space
-- Done with explicit equalities both for efficiency, and to avoid a tiresome