From: panne Date: Fri, 13 Sep 2002 18:25:07 +0000 (+0000) Subject: [project @ 2002-09-13 18:25:07 by panne] X-Git-Tag: nhc98-1-18-release~855 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=f3eeca6203e637043a6224fa95fe35e41d56039b;hp=c83f5ad9dbc5859bec565e4a6593c8cb105b5b64;p=ghc-base.git [project @ 2002-09-13 18:25:07 by panne] Not quite sure about this one: Export builtin stuff like [], (), and (->) only for NHC, not for GHC anymore. --- diff --git a/Prelude.hs b/Prelude.hs index 2fb0baf..2d0fe96 100644 --- a/Prelude.hs +++ b/Prelude.hs @@ -24,8 +24,7 @@ module Prelude ( Ordering(LT, EQ, GT), Char, String, Int, Integer, Float, Double, IO, Rational, -#if defined(__GLASGOW_HASKELL__) || defined(__NHC__) - -- Restore export of (:) until we get to 5.05 +#if defined(__NHC__) []((:), []), -- Not legal Haskell 98; -- ... available through built-in syntax module Data.Tuple, -- Includes tuple types