Re: GHC API: modInfoIsExportedName, String -> Name?

2013-10-21 Thread Daniel Trstenjak
Hi Ranjit, > I should have added that you should call them after compiling the > particular target (or with the environment obtained after compiling > from a particular target) did you do that? I don't compile anything in my context, but I'm just reading the information of already compiled modul

Re: GHC API: modInfoIsExportedName, String -> Name?

2013-10-20 Thread Daniel Trstenjak
Hi Ranjit, unfortunately both versions don't seem to work. > parseName :: GhcMonad m => String -> m [Name] This version yields an exception - I can't remember the exact text - but something like symbol not found. > hscParseIdentifier :: HscEnv -> String -> IO (Located RdrName) > tcRnLookupRdrN