get package:ghc
Return the bindings for the current interactive session.
Get the interactive evaluation context, consisting of a pair of the
set of modules from which we take the full top-level scope, and the
set of modules from which we take just the exports respectively.
Get the monad GHCi lifts user statements into.
get the GlobalRdrEnv for a session
Looks up an identifier in the current interactive context (for :info)
Filter the instances by the ones whose tycons (or classes resp) are in
scope (qualified or otherwise). Otherwise we list a whole lot too
many! The exact choice of which ones to show, and which to hide, is a
judgement call. (see #1581)
Return the instances for the current interactive session.
Get the
DynFlags used to evaluate interactive expressions.
Return the
ModSummary of a module with the given name.
The module must be part of the module graph (see
hsc_mod_graph
and
ModuleGraph). If this is not the case, this function will
throw a
GhcApiError.
This function ignores boot modules and requires that there is only one
non-boot module with the given name.
Get the module dependency graph.
Request information about a loaded
Module
Retrieve all type and family instances in the environment, indexed by
Name. Each name's lists will contain every instance in which
that name is mentioned in the instance head.
Returns all names in scope in the current interactive context
Returns all
RdrNames in scope in the current interactive
context, excluding any that are internally-generated.