module Foo ( foo, -- * Something bar, -- | A multiline -- comment here baz, -- * Another thing MyClass ( class1, class2 ), ) where import qualified MegaModule as M ( Either, Maybe (Just, Nothing), MaybeT (..), Monad ( return, (>>), (>>=) ), MonadBaseControl, join, liftIO, void, (<<<), (>>>), ) {- // -} -- https://github.com/fourmolu/fourmolu/issues/341 module Foo ( -- | asdf singleExport, ) where {- // -} -- https://github.com/fourmolu/fourmolu/issues/381 module Foo ( -- * Re-export of module module X, -- * Some other thing Foo, ) where