[project @ 2002-10-03 15:19:15 by ross]
authorross <unknown>
Thu, 3 Oct 2002 15:19:15 +0000 (15:19 +0000)
committerross <unknown>
Thu, 3 Oct 2002 15:19:15 +0000 (15:19 +0000)
Reinstate the exports of the function names, because the module must
export them, even though Hugs doesn't define them here.  The old module
export they overlapped with was there to pick up the tuple definitions
for GHC, but that probably isn't necessary with the recent GHC changes.

Data/Tuple.hs

index 16b23b4..88d2c67 100644 (file)
 --
 -----------------------------------------------------------------------------
 
-module Data.Tuple where
+module Data.Tuple (
+         fst           -- :: (a,b) -> a
+       , snd           -- :: (a,b) -> a
+       , curry         -- :: ((a, b) -> c) -> a -> b -> c
+       , uncurry       -- :: (a -> b -> c) -> ((a, b) -> c)
+  ) where
 
 #ifdef __GLASGOW_HASKELL__
 import GHC.Base