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.

  1. 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)
    

  2. 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"])]
    

  3. 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.

  4. 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.

  5. 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.

  6. setContext :: Context -> Q ()

    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.

  7. setBF :: BF -> BF -> IO ()

    libBF LibBF.Mutable

    Assign from another number.

  8. setDouble :: Double -> BF -> IO ()

    libBF LibBF.Mutable

    Assign from a double

  9. setInf :: Sign -> BF -> IO ()

    libBF LibBF.Mutable

    Assign an infinty to the number.

  10. setInt :: Int64 -> BF -> IO ()

    libBF LibBF.Mutable

    Assign from an int

Page 393 of many | Previous | Next