Hoogle Search
Within LTS Haskell 24.46 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
setImports :: MonadInterpreter m => [ModuleName] -> m ()hint Language.Haskell.Interpreter Sets the modules whose exports must be in context. These can be modules previously loaded with loadModules, or modules from packages which hint is aware of. This includes package databases specified to unsafeRunInterpreterWithArgs by the -package-db=... parameter, and packages specified by a ghc environment file created by cabal build --write-ghc-environment-files=always. Warning: setImports, setImportsQ, and setImportsF are mutually exclusive. If you have a list of modules to be used qualified and another list unqualified, then you need to do something like
setImportsQ ((zip unqualified $ repeat Nothing) ++ qualifieds)
setImportsF :: MonadInterpreter m => [ModuleImport] -> m ()hint Language.Haskell.Interpreter A variant of setImportsQ where modules may have an explicit import list. e.g.:
setImportsF [ModuleImport Prelude NotQualified NoImportList, ModuleImport Data.Text (QualifiedAs $ Just Text) (HidingList ["pack"])]
setImportsQ :: MonadInterpreter m => [(ModuleName, Maybe String)] -> m ()hint Language.Haskell.Interpreter A variant of setImports where modules them may be qualified. e.g.: setImportsQ [(Prelude, Nothing), (Data.Map, Just M)]. Here, "map" will refer to Prelude.map and "M.map" to Data.Map.map.
setTopLevelModules :: MonadInterpreter m => [ModuleName] -> m ()hint Language.Haskell.Interpreter Sets the modules whose context is used during evaluation. All bindings of these modules are in scope, not only those exported. Modules must be interpreted to use this function.
setlogmask :: [Priority] -> IO [Priority]hsyslog System.Posix.Syslog Configure a process-wide filter that determines which logging priorities are ignored and which ones are forwarded to the syslog implementation. For example, use setlogmask [Emergency .. Info] to filter out all debug-level messages from the message stream. Calling setlogmask [minBound..maxBound] enables everything. The special case setlogmask [] does nothing, i.e. the current filter configuration is not modified. This can be used to retrieve the current configuration.
-
inline-c Language.C.Inline.Internal Sets the Context for the current module. This function, if called, must be called before any of the other TH functions in this module. Fails if that's not the case.
-
libBF LibBF.Mutable Assign from another number.
setDouble :: Double -> BF -> IO ()libBF LibBF.Mutable Assign from a double
-
libBF LibBF.Mutable Assign an infinty to the number.
setInt :: Int64 -> BF -> IO ()libBF LibBF.Mutable Assign from an int