[project @ 2002-03-15 12:42:39 by simonmar]
authorsimonmar <unknown>
Fri, 15 Mar 2002 12:43:07 +0000 (12:43 +0000)
committersimonmar <unknown>
Fri, 15 Mar 2002 12:43:07 +0000 (12:43 +0000)
Convert to new syntax

Data/Dynamic.hi-boot
GHC/Err.hi-boot

index d7c5410..7ab9f6a 100644 (file)
@@ -1,3 +1,2 @@
-__interface "base" DataziDynamic 1 where
-__export DataziDynamic Dynamic ;
-data Dynamic;
+module Data.Dynamic where
+data Dynamic
index 15fd3fd..862a24e 100644 (file)
@@ -7,6 +7,12 @@
 --     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
+parError :: GHC.Base.String -> a