862a24e3eb2aea385abfff6bd58ab17c6b6e0638
[ghc-base.git] / GHC / Err.hi-boot
1 ---------------------------------------------------------------------------
2 --                              PrelErr.hi-boot
3 -- 
4 --      This hand-written interface file is the initial bootstrap version
5 --      for PrelErr.hi.
6 --      It doesn't need to give "error" a type signature, 
7 --      because it's wired into the compiler
8 ---------------------------------------------------------------------------
9
10 module GHC.Err where
11
12 -- We can't give an accurate type for error, because it mentions an open
13 -- type variable, but fortunately it doesn't matter what type we
14 -- give here because the compiler will use its wired-in version.  But we have
15 -- to mention 'error' so that it gets exported from this .hi-boot
16 -- file.
17 error    :: GHC.Base.String -> a
18 parError :: GHC.Base.String -> a