GHC API: modInfoIsExportedName, String -> Name?

Daniel Trstenjak daniel.trstenjak at gmail.com
Sat Oct 19 13:58:28 UTC 2013


Hi,

I wanted to use the GHC API to find if a symbol is exported from a module.

The function 'modInfoIsExportedName :: ModuleInfo -> Name -> Bool' seems to do what
I want, but how do I convert a symbol string into a 'Name'?

Thanks for any hints!


Greetings,
Daniel


More information about the Glasgow-haskell-users mailing list