summaryrefslogtreecommitdiff
path: root/libraries/base/GHC/ByteOrder.hs-boot
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/base/GHC/ByteOrder.hs-boot')
-rw-r--r--libraries/base/GHC/ByteOrder.hs-boot28
1 files changed, 28 insertions, 0 deletions
diff --git a/libraries/base/GHC/ByteOrder.hs-boot b/libraries/base/GHC/ByteOrder.hs-boot
new file mode 100644
index 0000000000..69ca0d922d
--- /dev/null
+++ b/libraries/base/GHC/ByteOrder.hs-boot
@@ -0,0 +1,28 @@
+{-# LANGUAGE NoImplicitPrelude #-}
+
+{-
+This SOURCE-imported hs-boot module cuts a big dependency loop:
+
+module ‘GHC.Stable’
+imports module ‘GHC.Ptr’
+imports module ‘Numeric’
+imports module ‘GHC.Read’
+imports module ‘GHC.Unicode’
+imports module ‘GHC.Unicode.Internal.Char.UnicodeData.GeneralCategory’
+imports module ‘GHC.Unicode.Internal.Bits’
+imports module ‘GHC.ByteOrder’
+imports module ‘GHC.Generics’
+imports module ‘Data.Ord’
+imports module ‘Foreign.Storable’
+imports module ‘GHC.Stable’
+-}
+
+module GHC.ByteOrder where
+
+import GHC.Types ()
+
+data ByteOrder
+ = BigEndian
+ | LittleEndian
+
+targetByteOrder :: ByteOrder