[commit: base] master: GHC.Err is no longer a boot module; no GHC/Err.lhs-boot (9b7c1b1)

Ian Lynagh igloo at earth.li
Thu Jun 6 19:56:48 CEST 2013


Repository : ssh://darcs.haskell.org//srv/darcs/packages/base

On branch  : master

https://github.com/ghc/packages-base/commit/9b7c1b1205de7e05b424f20432607c114a679859

>---------------------------------------------------------------

commit 9b7c1b1205de7e05b424f20432607c114a679859
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Thu Jun 6 14:37:20 2013 +0100

    GHC.Err is no longer a boot module; no GHC/Err.lhs-boot

>---------------------------------------------------------------

 GHC/Err.lhs-boot |   22 ----------------------
 1 files changed, 0 insertions(+), 22 deletions(-)

diff --git a/GHC/Err.lhs-boot b/GHC/Err.lhs-boot
deleted file mode 100644
index 1b9467e..0000000
--- a/GHC/Err.lhs-boot
+++ /dev/null
@@ -1,22 +0,0 @@
-\begin{code}
-{-# LANGUAGE Trustworthy #-}
-{-# LANGUAGE NoImplicitPrelude #-}
-
----------------------------------------------------------------------------
---                  Ghc.Err.hs-boot
----------------------------------------------------------------------------
-
-module GHC.Err ( error, undefined ) where 
-import GHC.Types( Char )
-
--- The type signature for 'error'/'undefined' is a gross hack:
--- we can't give an accurate type for error, because it mentions 
--- an open type variable.
--- 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     :: [Char] -> a
-undefined :: a
-\end{code}





More information about the ghc-commits mailing list