How to bind modules in ghc?

I have a haskell program that uses Data.Set and Data.IntMap, what flags do I need to provide the GHC to get them to link these libraries? A simple question, I know, but the pages with people did not help me, and I do not know where to look.

+4
source share
1 answer

Adding --make will tell GHC to find all the dependencies and make all the links for you automatically:

The GHC will define all the modules in the program, following the import from these source modules. This will then try to compile each module that is deprecated, and finally, if the Main module exists, the program will also be associated with the executable.

+5
source

All Articles