[project @ 2001-08-02 14:03:38 by simonmar]
authorsimonmar <unknown>
Thu, 2 Aug 2001 14:03:38 +0000 (14:03 +0000)
committersimonmar <unknown>
Thu, 2 Aug 2001 14:03:38 +0000 (14:03 +0000)
Haskell 98 compatibility package.

This package provides interfaces identical to the Haskell 98 libraries
by re-exporting the relevant parts of the core libraries.  It will be
enabled by default when we switch over to the new libraries in GHC.

17 files changed:
Array.hs [new file with mode: 0644]
CPUTime.hs [new file with mode: 0644]
Char.hs [new file with mode: 0644]
Complex.hs [new file with mode: 0644]
Directory.hs [new file with mode: 0644]
IO.hs [new file with mode: 0644]
Ix.hs [new file with mode: 0644]
List.hs [new file with mode: 0644]
Locale.hs [new file with mode: 0644]
Makefile [new file with mode: 0644]
Maybe.hs [new file with mode: 0644]
Monad.hs [new file with mode: 0644]
Random.hs [new file with mode: 0644]
Ratio.hs [new file with mode: 0644]
System.hs [new file with mode: 0644]
Time.hs [new file with mode: 0644]
haskell98.conf.in [new file with mode: 0644]

diff --git a/Array.hs b/Array.hs
new file mode 100644 (file)
index 0000000..7c8624f
--- /dev/null
+++ b/Array.hs
@@ -0,0 +1,5 @@
+module Array (
+    module Data.Array
+  ) where
+
+import Data.Array
diff --git a/CPUTime.hs b/CPUTime.hs
new file mode 100644 (file)
index 0000000..43e9c13
--- /dev/null
@@ -0,0 +1,5 @@
+module CPUTime (
+    module System.CPUTime
+  ) where
+
+import System.CPUTime
diff --git a/Char.hs b/Char.hs
new file mode 100644 (file)
index 0000000..066ff49
--- /dev/null
+++ b/Char.hs
@@ -0,0 +1,5 @@
+module Char (
+    module Data.Char
+  ) where
+
+import Data.Char
diff --git a/Complex.hs b/Complex.hs
new file mode 100644 (file)
index 0000000..918ca00
--- /dev/null
@@ -0,0 +1,5 @@
+module Complex (
+    module Data.Complex
+  ) where
+
+import Data.Complex
diff --git a/Directory.hs b/Directory.hs
new file mode 100644 (file)
index 0000000..f086593
--- /dev/null
@@ -0,0 +1,5 @@
+module Directory (
+    module System.IO.Directory
+  ) where
+
+import System.IO.Directory
diff --git a/IO.hs b/IO.hs
new file mode 100644 (file)
index 0000000..dcdad79
--- /dev/null
+++ b/IO.hs
@@ -0,0 +1,5 @@
+module IO (
+    module System.IO
+  ) where
+
+import System.IO hiding ( fixIO, hGetBuf, hPutBuf )
diff --git a/Ix.hs b/Ix.hs
new file mode 100644 (file)
index 0000000..5ef27de
--- /dev/null
+++ b/Ix.hs
@@ -0,0 +1,5 @@
+module Ix (
+    module Data.Ix
+  ) where
+
+import Data.Ix
diff --git a/List.hs b/List.hs
new file mode 100644 (file)
index 0000000..6978cda
--- /dev/null
+++ b/List.hs
@@ -0,0 +1,5 @@
+module List (
+    module Data.List
+  ) where
+
+import Data.List
diff --git a/Locale.hs b/Locale.hs
new file mode 100644 (file)
index 0000000..fff26e7
--- /dev/null
+++ b/Locale.hs
@@ -0,0 +1,5 @@
+module Locale (
+    module System.Locale
+  ) where
+
+import System.Locale
diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..a355a55
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,10 @@
+# -----------------------------------------------------------------------------
+# $Id: Makefile,v 1.1 2001/08/02 14:03:38 simonmar Exp $
+
+TOP=..
+include $(TOP)/mk/boilerplate.mk
+
+ALL_DIRS =
+PKG      = haskell98
+
+include $(TOP)/mk/target.mk
diff --git a/Maybe.hs b/Maybe.hs
new file mode 100644 (file)
index 0000000..a907782
--- /dev/null
+++ b/Maybe.hs
@@ -0,0 +1,5 @@
+module Maybe (
+    module Data.Maybe
+  ) where
+
+import Data.Maybe
diff --git a/Monad.hs b/Monad.hs
new file mode 100644 (file)
index 0000000..4f68fe4
--- /dev/null
+++ b/Monad.hs
@@ -0,0 +1,5 @@
+module Monad (
+    module Control.Monad
+  ) where
+
+import Control.Monad
diff --git a/Random.hs b/Random.hs
new file mode 100644 (file)
index 0000000..f1659fc
--- /dev/null
+++ b/Random.hs
@@ -0,0 +1,5 @@
+module Random (
+  module System.Random
+  ) where
+
+import System.Random
diff --git a/Ratio.hs b/Ratio.hs
new file mode 100644 (file)
index 0000000..4b1d0e7
--- /dev/null
+++ b/Ratio.hs
@@ -0,0 +1,5 @@
+module Ratio (
+    module Data.Ratio
+  ) where
+
+import Data.Ratio
diff --git a/System.hs b/System.hs
new file mode 100644 (file)
index 0000000..a43572e
--- /dev/null
+++ b/System.hs
@@ -0,0 +1,9 @@
+module System (
+    module System.Exit,
+    module System.Environment,
+    module System.Cmd
+  ) where
+
+import System.Exit
+import System.Environment
+import System.Cmd
diff --git a/Time.hs b/Time.hs
new file mode 100644 (file)
index 0000000..e17cdd4
--- /dev/null
+++ b/Time.hs
@@ -0,0 +1,5 @@
+module Time (
+    module System.Time
+  ) where
+
+import System.Time
diff --git a/haskell98.conf.in b/haskell98.conf.in
new file mode 100644 (file)
index 0000000..91c9117
--- /dev/null
@@ -0,0 +1,29 @@
+#include "config.h"
+
+Package {
+        name           = "haskell98",
+#ifdef INSTALLING
+       import_dirs    = [ "$libdir/imports" ]
+#else
+       import_dirs    = [ "$libdir/libraries/haskell98" ],
+#endif
+        source_dirs    = [],
+#ifdef INSTALLING
+        library_dirs   = [ "$libdir" ]
+#else
+        library_dirs   = [ "$libdir/libraries/haskell98"
+                         , "$libdir/libraries/haskell98/cbits" ],
+#endif
+        hs_libraries      = [ "HShaskell98" ],
+       extra_libraries   = [ ],
+#ifdef INSTALLING
+        include_dirs   = []
+#else
+        include_dirs   = [ "$libdir/libraries/haskell98/include" ],
+#endif
+        c_includes     = [ "HsHaskell98.h" ],
+        package_deps   = [ "core" ],
+        extra_ghc_opts = [],
+        extra_cc_opts  = [],
+        extra_ld_opts  = []
+}