Welcome to the Functional Programming Zulip Chat Archive. You can join the chat here.
Is there a simple way to export some stuff from modules you've imported in addition to whatever you've actually defined?
without having to make all the exports explicit
got it, you can do:
module Foo (module Foo, Bar) where
I've seen like:
module Foo (bar, X) where
import qualified Baz as X
import qualified Buz as X
IIUC, this lets you reexport everything you imported as X combined together
Yes, that works for that use case, but the problem is I wanted to export everything defined in Foo itself in addition to a couple things from the imports, without having to repeat the names of everything I defined in Foo explicitly in the export list