Hoogle Search

Within LTS Haskell 24.39 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. makeIdentForId :: Id -> Maybe Int -> IdType -> Module -> Ident

    ghc GHC.StgToJS.Ids

    Generate unique Ident for the given ID (uncached!) The ident has the following forms: global Id: h$unit:module.name[_num][_type_suffix] local Id: h$$unit:module.name[_num][_type_suffix]_uniq Note that the string is z-encoded except for "_" delimiters. Optional "_type_suffix" can be: - "_e" for IdEntry - "_con_e" for IdConEntry Optional "_num" is passed as an argument to this function. It is used for Haskell Ids that require several JS variables: e.g. 64-bit numbers (Word64#, Int64#), Addr#, StablePtr#, unboxed tuples, etc.

  2. varForDataConEntryId :: Id -> G JStgExpr

    ghc GHC.StgToJS.Ids

    Retrieve datacon entry variable name for the given Id

  3. varForDataConWorker :: DataCon -> G JStgExpr

    ghc GHC.StgToJS.Ids

    Retrieve datacon worker entry variable name for the given datacon

  4. varForEntryId :: Id -> G JStgExpr

    ghc GHC.StgToJS.Ids

    Retrieve entry variable name for the given Id

  5. varForId :: Id -> G JStgExpr

    ghc GHC.StgToJS.Ids

    Retrieve default variable name for the given Id

  6. varForIdN :: Id -> Int -> G JStgExpr

    ghc GHC.StgToJS.Ids

    Retrieve default variable name for the given Id with sub index

  7. varsForId :: Id -> G [JStgExpr]

    ghc GHC.StgToJS.Ids

    Retrieve all the JS vars for the given Id

  8. lcForceEmccRts :: JSLinkConfig -> !Bool

    ghc GHC.StgToJS.Linker.Types

    Force the link with the emcc rts. Use this if you plan to dynamically load wasm modules made from C files (e.g. in iserv).

  9. lcForeignRefs :: JSLinkConfig -> !Bool

    ghc GHC.StgToJS.Linker.Types

    Dump .frefs (foreign references) files

  10. emitForeign :: Maybe RealSrcSpan -> FastString -> Safety -> CCallConv -> [FastString] -> FastString -> G ()

    ghc GHC.StgToJS.Monad

    No documentation available.

Page 483 of many | Previous | Next