diff options
author | Simon Marlow <marlowsd@gmail.com> | 2010-06-24 13:04:44 +0000 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2010-06-24 13:04:44 +0000 |
commit | fc5566b401c56806a590c26df0e29bc9fc9bb519 (patch) | |
tree | 860f66c93959de300af2728c25d1bafa9e8a757e /libraries/base/GHC/Unicode.hs | |
parent | 2d6a2e0c04388d412d0d9667f9c2e41dcda8e2a9 (diff) | |
download | haskell-fc5566b401c56806a590c26df0e29bc9fc9bb519.tar.gz |
fix docs for isSpace
Diffstat (limited to 'libraries/base/GHC/Unicode.hs')
-rw-r--r-- | libraries/base/GHC/Unicode.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/base/GHC/Unicode.hs b/libraries/base/GHC/Unicode.hs index d90c96e3dd..73e453a117 100644 --- a/libraries/base/GHC/Unicode.hs +++ b/libraries/base/GHC/Unicode.hs @@ -63,8 +63,8 @@ isControl :: 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 |