summaryrefslogtreecommitdiff
path: root/libraries/base/GHC/Unicode.hs
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/base/GHC/Unicode.hs')
-rw-r--r--libraries/base/GHC/Unicode.hs11
1 files changed, 8 insertions, 3 deletions
diff --git a/libraries/base/GHC/Unicode.hs b/libraries/base/GHC/Unicode.hs
index 0e2ce4c0ef..1b8cd0534a 100644
--- a/libraries/base/GHC/Unicode.hs
+++ b/libraries/base/GHC/Unicode.hs
@@ -7,7 +7,7 @@
-- Module : GHC.Unicode
-- Copyright : (c) The University of Glasgow, 2003
-- License : see libraries/base/LICENSE
---
+--
-- Maintainer : cvs-ghc@haskell.org
-- Stability : internal
-- Portability : non-portable (GHC extensions)
@@ -129,7 +129,13 @@ data GeneralCategory
| Surrogate -- ^ Cs: Other, Surrogate
| PrivateUse -- ^ Co: Other, Private Use
| NotAssigned -- ^ Cn: Other, Not Assigned
- deriving (Show, Eq, Ord, Enum, Bounded, Ix)
+ deriving ( Show -- ^ @since 2.01
+ , Eq -- ^ @since 2.01
+ , Ord -- ^ @since 2.01
+ , Enum -- ^ @since 2.01
+ , Bounded -- ^ @since 2.01
+ , Ix -- ^ @since 2.01
+ )
-- | The Unicode general category of the character. This relies on the
-- 'Enum' instance of 'GeneralCategory', which must remain in the
@@ -394,4 +400,3 @@ foreign import ccall unsafe "u_towtitle"
foreign import ccall unsafe "u_gencat"
wgencat :: Int -> Int
-