
Hi there, If I import a module and do not explicitly point out the entities I have imported. And I want the ghc to point out the entities automatically. Is there any method to do this? any methods to have the ghc point out the entities I import and export? Because there are so many files and I don't want to change them one by one, so I just want to find if there is a simple and automatic way to have the entities pointed out. Thank you in advance!

2009/8/5 xu zhang
Hi there,
If I import a module and do not explicitly point out the entities I have imported. And I want the ghc to point out the entities automatically. Is there any method to do this? any methods to have the ghc point out the entities I import and export? Because there are so many files and I don't want to change them one by one, so I just want to find if there is a simple and automatic way to have the entities pointed out.
Thank you in advance!
`ghc --make -ddump-minimal-imports Main.hs` will output *.imports files containing what you want.

Hi all,
I appreciate all the suggestions but I'd like to stress that in this
particular case, the app I'm developing, SQL has proven to be the ideal
solution, the input data is table based, I need to group, find maxes, do
joins, whathaveyou. SQLite did miracles to memory problems and performance
and HaskellDB made it a breeze to generate the proper SQL.
Back to my original question, is there an SQL RDBM system written in
Haskell, for use disk- or memory based?
Günther
Am 05.08.2009, 20:04 Uhr, schrieb xu zhang
Hi there,
If I import a module and do not explicitly point out the entities I have imported. And I want the ghc to point out the entities automatically. Is there any method to do this? any methods to have the ghc point out the entities I import and export? Because there are so many files and I don't want to change them one by one, so I just want to find if there is a simple and automatic way to have the entities pointed out.
Thank you in advance!
participants (3)
-
andy morris
-
Günther Schmidt
-
xu zhang