projects
/
ghc-base.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 2005-03-14 15:22:51 by simonmar]
[ghc-base.git]
/
Data
/
Char.hs
diff --git
a/Data/Char.hs
b/Data/Char.hs
index
c8c630e
..
2ec1e66
100644
(file)
--- a/
Data/Char.hs
+++ b/
Data/Char.hs
@@
-1,4
+1,4
@@
-{-# OPTIONS -fno-implicit-prelude #-}
+{-# OPTIONS_GHC -fno-implicit-prelude #-}
-----------------------------------------------------------------------------
-- |
-- Module : Data.Char
-----------------------------------------------------------------------------
-- |
-- Module : Data.Char
@@
-6,7
+6,7
@@
-- License : BSD-style (see the file libraries/base/LICENSE)
--
-- Maintainer : libraries@haskell.org
-- License : BSD-style (see the file libraries/base/LICENSE)
--
-- Maintainer : libraries@haskell.org
--- Stability : provisional
+-- Stability : stable
-- Portability : portable
--
-- The Char type and associated operations.
-- Portability : portable
--
-- The Char type and associated operations.
@@
-23,14
+23,16
@@
module Data.Char
-- | Unicode characters are divided into letters, numbers, marks,
-- punctuation, symbols, separators (including spaces) and others
-- (including control characters).
-- | Unicode characters are divided into letters, numbers, marks,
-- punctuation, symbols, separators (including spaces) and others
-- (including control characters).
- -- The full set of Unicode character attributes is not accessible
- -- in this library.
, isAscii, isLatin1, isControl, isSpace
, isLower, isUpper, isAlpha, isAlphaNum, isPrint
, isAscii, isLatin1, isControl, isSpace
, isLower, isUpper, isAlpha, isAlphaNum, isPrint
- , isDigit, isOctDigit, isHexDigit -- :: Char -> Bool
+ , isDigit, isOctDigit, isHexDigit
+ , isAsciiUpper, isAsciiLower
+ , isLetter, isMark, isNumber, isPunctuation, isSymbol, isSeparator
+
+ , GeneralCategory(..), generalCategory
-- * Case conversion
-- * Case conversion
- , toUpper, toLower -- :: Char -> Char
+ , toUpper, toLower, toTitle -- :: Char -> Char
-- * Single digit characters
, digitToInt -- :: Char -> Int
-- * Single digit characters
, digitToInt -- :: Char -> Int