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)
> tcRnLookupRdrName :: HscEnv -> RdrName -> IO (Messages, Maybe [Name])

By this version the returned names by tcRnLookupRdrName are empty and
also the returned messages are empty, or 'printBagOfErrors' doesn't
output anything for them.


Greetings,
Daniel
_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to