Alejandro,
If I understand correctly, you're using the InteractiveEval module from the GHC API. That module exposes a very specific interface, and sometimes you'll need to do things beyond that - my approach has then been to look at the implementation of these things, copy/paste code, and follow the types. This will take you through other modules like HscTypes and so on, but you might be able to figure out how to do what you want. The GHC source code isn't great, but is fairly understandable if you stare at it for long enough.
I also very highly encourage you to document what you did on the wiki page for GHC API. The GHC API is in *dire* need of more explained example code using it.
-- Andrew