Closed nh2 closed 11 years ago
You can write
exposed-modules: Mymodule Mymodule Mymodule
and cabal build not complain. It will pass it to GHC's command line, which will also not complain, until finally:
cabal build
module `mypackage-0.1.0.0:Mymodule' is defined in multiple files: src/Mymodule.hs src/Mymodule.hs src/Mymodule.hs
Cabal should complain in the first place - it doesn't make sense to list a module more than once.
Grr, wrong project page ... sorry for that!
You can write
and
cabal build
not complain. It will pass it to GHC's command line, which will also not complain, until finally:Cabal should complain in the first place - it doesn't make sense to list a module more than once.