summaryrefslogtreecommitdiff
path: root/libraries/base/GHC/ByteOrder.hs
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/base/GHC/ByteOrder.hs')
-rw-r--r--libraries/base/GHC/ByteOrder.hs9
1 files changed, 8 insertions, 1 deletions
diff --git a/libraries/base/GHC/ByteOrder.hs b/libraries/base/GHC/ByteOrder.hs
index eecc56c9ad..8a42e8df71 100644
--- a/libraries/base/GHC/ByteOrder.hs
+++ b/libraries/base/GHC/ByteOrder.hs
@@ -12,6 +12,7 @@
--
-- Target byte ordering.
--
+-- @since 4.11.0.0
-----------------------------------------------------------------------------
module GHC.ByteOrder where
@@ -20,7 +21,13 @@ module GHC.ByteOrder where
data ByteOrder
= BigEndian -- ^ most-significant-byte occurs in lowest address.
| LittleEndian -- ^ least-significant-byte occurs in lowest address.
- deriving (Eq, Ord, Bounded, Enum, Read, Show)
+ deriving ( Eq -- ^ @since 4.11.0.0
+ , Ord -- ^ @since 4.11.0.0
+ , Bounded -- ^ @since 4.11.0.0
+ , Enum -- ^ @since 4.11.0.0
+ , Read -- ^ @since 4.11.0.0
+ , Show -- ^ @since 4.11.0.0
+ )
-- | The byte ordering of the target machine.
targetByteOrder :: ByteOrder