summaryrefslogtreecommitdiff
path: root/libraries/base/codepages/MakeTable.hs
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/base/codepages/MakeTable.hs')
-rw-r--r--libraries/base/codepages/MakeTable.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/libraries/base/codepages/MakeTable.hs b/libraries/base/codepages/MakeTable.hs
index 394d447a6d..b276e4b1a0 100644
--- a/libraries/base/codepages/MakeTable.hs
+++ b/libraries/base/codepages/MakeTable.hs
@@ -237,16 +237,20 @@ theTypes = [ "data ConvArray a = ConvArray Addr#"
class (Ord a, Enum a, Bounded a, Show a) => Embed a where
mkHex :: a -> String
+-- | @since 4.2.0.0
instance Embed Word8 where
mkHex = showHex'
+-- | @since 4.2.0.0
instance Embed Word16 where
mkHex = repDualByte
+-- | @since 4.2.0.0
instance Embed Char where
mkHex = repDualByte
-- this is used for the indices of the compressed array.
+-- | @since 4.2.0.0
instance Embed Int where
mkHex = repDualByte