[Haskell-cafe] ghci module re exporting qualified as

Henning Thielemann lemming at henning-thielemann.de
Wed Nov 18 15:14:53 UTC 2020


On Wed, 18 Nov 2020, Immanuel Litzroth wrote:

> I'm trying to make a test module to run tests.
> I want to import the test functionality + imported functionality in
> the scope of the test module under ghci.
> I also want to have short names in the  Test module for reexported
> modules. I am using Data.Map and Data.Set ... so lot's of conflicting
> exports.
> Is this possible?
>
>
> #+BEGIN_SRC haskell :tangle T1.hs
> module T1 (
>   module Data.Map) where
> import qualified Data.Map
> #+END_SRC

Maybe omit the export list?


More information about the Haskell-Cafe mailing list