diff options
author | David Feuer <david.feuer@gmail.com> | 2014-12-27 20:53:37 -0500 |
---|---|---|
committer | Edward Z. Yang <ezyang@cs.stanford.edu> | 2014-12-27 20:53:37 -0500 |
commit | d6e7f5dc9db7e382ce34d649f85505176a451a04 (patch) | |
tree | 99870a52c10496c4c2bad0a7ccedb071ffb6bb2d /libraries/base/GHC/Base.hs | |
parent | 6b9e958c89f5f31bcb8520d657986a5983f5c34e (diff) | |
download | haskell-d6e7f5dc9db7e382ce34d649f85505176a451a04.tar.gz |
Add export lists to some modules.
Summary:
This makes it easier to see what is exported, and allows us to
add non-exported top-level names.
Reviewers: hvr, austin, ezyang
Reviewed By: ezyang
Subscribers: ezyang, carter, thomie
Projects: #ghc
Differential Revision: https://phabricator.haskell.org/D551
GHC Trac Issues: #9852
Diffstat (limited to 'libraries/base/GHC/Base.hs')
-rw-r--r-- | libraries/base/GHC/Base.hs | 33 |
1 files changed, 22 insertions, 11 deletions
diff --git a/libraries/base/GHC/Base.hs b/libraries/base/GHC/Base.hs index 44085a2efa..e3d247ee98 100644 --- a/libraries/base/GHC/Base.hs +++ b/libraries/base/GHC/Base.hs @@ -93,17 +93,28 @@ Other Prelude modules are much easier with fewer complex dependencies. #include "MachDeps.h" module GHC.Base - ( - module GHC.Base, - module GHC.Classes, - module GHC.CString, - module GHC.Magic, - module GHC.Types, - module GHC.Prim, -- Re-export GHC.Prim and [boot] GHC.Err, - -- to avoid lots of people having to - module GHC.Err -- import it explicitly - ) - where + ( + module GHC.Classes, + module GHC.CString, + module GHC.Magic, + module GHC.Types, + module GHC.Prim, -- Re-export GHC.Prim and [boot] GHC.Err, + -- to avoid lots of people having to + module GHC.Err, -- import it explicitly + + + Alternative(..), Applicative(..), Functor(..), Maybe(..), Monad(..), + MonadPlus(..), Monoid(..), Opaque(..), String, + + + ($), ($!), (++), (.), (<**>), (=<<), ap, asTypeOf, assert, augment, + bindIO, breakpoint, breakpointCond, build, const, divInt, divModInt, + divModInt#, eqString, flip, foldr, getTag, iShiftL#, iShiftRA#, + iShiftRL#, id, join, liftA, liftA2, liftA3, liftM, liftM2, liftM3, + liftM4, liftM5, map, mapFB, mapM, maxInt, minInt, modInt, ord, + otherwise, quotInt, quotRemInt, remInt, returnIO, sequence, shiftL#, + shiftRL#, thenIO, unIO, unsafeChr, until, when + ) where import GHC.Types import GHC.Classes |