summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2017-01-10 16:28:41 -0500
committerBen Gamari <ben@smart-cactus.org>2017-01-10 16:29:27 -0500
commit630605eaa8af7b1249e23ed376523b4fd6f79803 (patch)
treea2399df8b6558872ceb8f9251b9cf482338c8d19
parent8b15fc42847b3ba4a161158995564b1986907776 (diff)
downloadhaskell-630605eaa8af7b1249e23ed376523b4fd6f79803.tar.gz
base: Reexport types in GHC.Tuple from Data.Tuple
-rw-r--r--libraries/base/Data/Tuple.hs8
1 files changed, 6 insertions, 2 deletions
diff --git a/libraries/base/Data/Tuple.hs b/libraries/base/Data/Tuple.hs
index d8bccf3364..0b211a2a28 100644
--- a/libraries/base/Data/Tuple.hs
+++ b/libraries/base/Data/Tuple.hs
@@ -6,7 +6,7 @@
-- Module : Data.Tuple
-- Copyright : (c) The University of Glasgow 2001
-- License : BSD-style (see the file libraries/base/LICENSE)
---
+--
-- Maintainer : libraries@haskell.org
-- Stability : experimental
-- Portability : portable
@@ -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