
On Mon, Dec 16, 2013 at 7:54 AM, Carlo Hamalainen < carlo@carlo-hamalainen.net> wrote:
I'm not sure why, but the "source imports" is an empty list, while the "textual imports" gives the implicit Prelude and Data.Maybe. Also the names are the program names like f, s, and main, and don't include things like String, Int, Just, and so on.
"source imports" likely relates to the SOURCE pragma; see http://www.haskell.org/ghc/docs/latest/html/users_guide/separate-compilation... details. I would expect that you get the names *defined* in the module, not those *imported* into it; to get those, you would follow the import lists, as you have already determined. -- brandon s allbery kf8nh sine nomine associates allbery.b@gmail.com ballbery@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net