Hoogle Search
Within LTS Haskell 24.34 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
setContext :: GhcMonad m => [InteractiveImport] -> m ()ghc GHC Set the interactive evaluation context. (setContext imports) sets the ic_imports field (which in turn determines what is in scope at the prompt) to imports, and updates the icReaderEnv environment to reflect it. We retain in scope all the things defined at the prompt, and kept in ic_tythings. (Indeed, they shadow stuff from ic_imports.)
setGHCiMonad :: GhcMonad m => String -> m ()ghc GHC Set the monad GHCi lifts user statements into. Checks that a type (in string form) is an instance of the GHC.GHCi.GHCiSandboxIO type class. Sets it to be the GHCi monad if it is, throws an error otherwise.
setInteractiveDynFlags :: GhcMonad m => DynFlags -> m ()ghc GHC Set the DynFlags used to evaluate interactive expressions. Also initialise (load) plugins. Note: this cannot be used for changes to packages. Use setSessionDynFlags, or setProgramDynFlags and then copy the unitState into the interactive DynFlags.
setProgramDynFlags :: GhcMonad m => DynFlags -> m Boolghc GHC Sets the program DynFlags. Note: this invalidates the internal cached module graph, causing more work to be done the next time load is called. Returns a boolean indicating if preload units have changed and need to be reloaded.
setSession :: GhcMonad m => HscEnv -> m ()ghc GHC No documentation available.
setSessionDynFlags :: (HasCallStack, GhcMonad m) => DynFlags -> m ()ghc GHC No documentation available.
setTargets :: GhcMonad m => [Target] -> m ()ghc GHC Sets the targets for this session. Each target may be a module name or a filename. The targets correspond to the set of root modules for the program/library. Unloading the current program is achieved by setting the current set of targets to be empty, followed by load.
setTopSessionDynFlags :: GhcMonad m => DynFlags -> m ()ghc GHC No documentation available.
setUnitDynFlags :: GhcMonad m => UnitId -> DynFlags -> m ()ghc GHC No documentation available.
setupBreakpoint :: GhcMonad m => HscEnv -> BreakpointId -> Int -> m ()ghc GHC No documentation available.