generating C stubs with GHC API

Victor Nazarov asviraspossible at gmail.com
Wed Nov 3 07:24:42 EDT 2010


I would like to get access to functions exported from Haskell module
and to generate custom stubs for them using GHC API.
As I understand, I need to obtain a list of ForeignDecl's (data
structure defined in HsDecls GHC module) for given source module.
How to achieve this with GHC API?

-- 
Victor Nazarov


More information about the Glasgow-haskell-users mailing list