[commit: ghc] foldr-to-foldl: base: Reexport types in GHC.Tuple from Data.Tuple (630605e)

git at git.haskell.org git at git.haskell.org
Wed Jan 11 03:24:31 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : foldr-to-foldl
Link       : http://ghc.haskell.org/trac/ghc/changeset/630605eaa8af7b1249e23ed376523b4fd6f79803/ghc

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

commit 630605eaa8af7b1249e23ed376523b4fd6f79803
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Tue Jan 10 16:28:41 2017 -0500

    base: Reexport types in GHC.Tuple from Data.Tuple


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

630605eaa8af7b1249e23ed376523b4fd6f79803
 libraries/base/Data/Tuple.hs | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/libraries/base/Data/Tuple.hs b/libraries/base/Data/Tuple.hs
index d8bccf3..0b211a2 100644
--- a/libraries/base/Data/Tuple.hs
+++ b/libraries/base/Data/Tuple.hs
@@ -16,14 +16,18 @@
 -----------------------------------------------------------------------------
 
 module Data.Tuple
-  ( fst
+  ( -- * Utilities
+    fst
   , snd
   , curry
   , uncurry
   , swap
+    -- * Tuple types
+  , module GHC.Tuple
   ) where
 
 import GHC.Base ()      -- Note [Depend on GHC.Tuple]
+import GHC.Tuple        -- So we can re-export it
 
 default ()              -- Double isn't available yet
 



More information about the ghc-commits mailing list