101
95
modName = nameModule name
105
98
-- | Like GHC's getInfo but doesn't cut things out depending on the
106
99
-- interative context, which we don't set sufficiently anyway.
107
100
getAllInfo :: GhcMonad m => Name -> m (Maybe (TyThing,Fixity,[Instance]))
108
101
getAllInfo name = withSession $ \hsc_env -> do
109
102
(_msgs, r) <- liftIO $ tcRnGetInfo hsc_env name
114
106
--------------------------------------------------------------------------------