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.

  1. addForeignFile :: ForeignSrcLang -> String -> Q ()

    ghc-lib-parser GHC.Internal.TH.Syntax

    Deprecated: Use addForeignSource instead

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

  3. 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"
    , ...
    ]
    

  4. qAddForeignFilePath :: Quasi m => ForeignSrcLang -> String -> m ()

    ghc-lib-parser GHC.Internal.TH.Syntax

    See addForeignFilePath.

  5. jFor :: (JStgExpr -> JStgStat) -> (JStgExpr -> JStgExpr) -> (JStgExpr -> JStgStat) -> (JStgExpr -> JStgStat) -> JSM JStgStat

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

  6. jForEachIn :: JStgExpr -> (JStgExpr -> JStgStat) -> JSM JStgStat

    ghc-lib-parser GHC.JS.Make

    As with "jForIn" but creating a "for each in" statement.

  7. jForIn :: JStgExpr -> (JStgExpr -> JStgStat) -> JSM JStgStat

    ghc-lib-parser GHC.JS.Make

    Create a 'for in' statement. Usage:

    jForIn {expression} $ x -> {block involving x}
    

  8. module GHC.JS.Transform

    No documentation available.

  9. ExplicitForAll :: Extension

    ghc-lib-parser GHC.LanguageExtensions.Type

    No documentation available.

  10. GHCForeignImportPrim :: Extension

    ghc-lib-parser GHC.LanguageExtensions.Type

    No documentation available.

Page 691 of many | Previous | Next