[project @ 2005-01-18 15:08:39 by simonmar]
[ghc-base.git] / GHC / Err.hi-boot
index 15fd3fd..4ae901a 100644 (file)
@@ -7,6 +7,14 @@
 --     because it's wired into the compiler
 ---------------------------------------------------------------------------
 
-__interface "core" GHCziErr 1 where
-__export GHCziErr error parError;
+module GHC.Err where
 
+-- We can't give an accurate type for error, because it mentions an open
+-- type variable, but fortunately it doesn't matter what type we
+-- give here because the compiler will use its wired-in version.  But we have
+-- to mention 'error' so that it gets exported from this .hi-boot
+-- file.
+error    :: GHC.Base.String -> a
+
+-- divide by zero is needed quite early
+divZeroError :: a