summaryrefslogtreecommitdiff
path: root/libraries/base/GHC/Num.hi-boot
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/base/GHC/Num.hi-boot')
-rw-r--r--libraries/base/GHC/Num.hi-boot14
1 files changed, 14 insertions, 0 deletions
diff --git a/libraries/base/GHC/Num.hi-boot b/libraries/base/GHC/Num.hi-boot
new file mode 100644
index 0000000000..33298fdbd7
--- /dev/null
+++ b/libraries/base/GHC/Num.hi-boot
@@ -0,0 +1,14 @@
+---------------------------------------------------------------------------
+-- PrelNum.hi-boot
+--
+-- This hand-written interface file is the
+-- initial bootstrap version for PrelNum.hi.
+-- It's needed for the 'thin-air' Id addr2Integer, when compiling
+-- PrelBase, and other Prelude files that precede PrelNum
+---------------------------------------------------------------------------
+
+__interface "std" PrelNum 1 where
+__export PrelNum Integer addr2Integer ;
+
+1 data Integer ;
+1 addr2Integer :: PrelGHC.Addrzh -> Integer ;