If you have a Stack Haskell project called MyProject , which contains the following modules:
src\ Foo1 Foo2 Bar\ Foo3
I would like to add a project prefix to all module names to help me distinguish them from other imported modules from other packages, for example MyProject.Bar.Foo3
I know that I can move the contents of src to the MyProject folder, and then the prefix of all modules with MyProject. , but is there a way to do this using a cabal file, for example project-prefix=MyProject , or another solution that will give me the same effect, without having to restructure the project files?
source share