Hoogle Search
Within LTS Haskell 24.40 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
addForeignFile :: ForeignSrcLang -> String -> Q ()ghc-lib-parser GHC.Internal.TH.Syntax Deprecated: Use addForeignSource instead
addForeignFilePath :: ForeignSrcLang -> FilePath -> Q ()ghc-lib-parser GHC.Internal.TH.Syntax Same as addForeignSource, but expects to receive a path pointing to the foreign file instead of a String of its contents. Consider using this in conjunction with addTempFile. This is a good alternative to addForeignSource when you are trying to directly link in an object file.
addForeignSource :: ForeignSrcLang -> String -> Q ()ghc-lib-parser GHC.Internal.TH.Syntax Emit a foreign file which will be compiled and linked to the object for the current module. Currently only languages that can be compiled with the C compiler are supported, and the flags passed as part of -optc will be also applied to the C compiler invocation that will compile them. Note that for non-C languages (for example C++) extern C directives must be used to get symbols that we can access from Haskell. To get better errors, it is recommended to use #line pragmas when emitting C files, e.g.
{-# LANGUAGE CPP #-} ... addForeignSource LangC $ unlines [ "#line " ++ show (870 + 1) ++ " " ++ show "libraries/ghc-internal/src/GHC/Internal/TH/Syntax.hs" , ... ]qAddForeignFilePath :: Quasi m => ForeignSrcLang -> String -> m ()ghc-lib-parser GHC.Internal.TH.Syntax See addForeignFilePath.
-
ghc-lib-parser GHC.JS.Make Create a for statement given a function for initialization, a predicate to step to, a step and a body Usage:
jFor (|= zero_) (.<. Int 65536) preIncrS (j -> ...something with the counter j...)
jForEachIn :: JStgExpr -> (JStgExpr -> JStgStat) -> JSM JStgStatghc-lib-parser GHC.JS.Make As with "jForIn" but creating a "for each in" statement.
jForIn :: JStgExpr -> (JStgExpr -> JStgStat) -> JSM JStgStatghc-lib-parser GHC.JS.Make Create a 'for in' statement. Usage:
jForIn {expression} $ x -> {block involving x}-
No documentation available.
-
ghc-lib-parser GHC.LanguageExtensions.Type No documentation available.
GHCForeignImportPrim :: Extensionghc-lib-parser GHC.LanguageExtensions.Type No documentation available.