Hi all,

Is there a reason why minf_rdr_env (a field in ModuleInfo) is not
exposed?

It's possible to reconstruct it in 8.4.4 (the only version I'm looking
at) with a TypecheckedModule via

  let (tc_gbl_env, _) = GHC.tm_internals_ tmod
      minf_rdr_env = tcg_rdr_env tc_gbl_env


It's a useful thing to have for editor tooling (e.g. to get the correct
qualified imported symbols that may be autocompleted).

-- 
Best regards,
Sam

Attachment: signature.asc
Description: PGP signature

_______________________________________________
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

Reply via email to