Hoogle Search
Within LTS Haskell 24.48 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
forkAltPair :: FCode a -> FCode a -> FCode (a, a)ghc-lib GHC.StgToCmm.Monad No documentation available.
forkAlts :: [FCode a] -> FCode [a]ghc-lib GHC.StgToCmm.Monad No documentation available.
forkClosureBody :: FCode () -> FCode ()ghc-lib GHC.StgToCmm.Monad No documentation available.
forkLneBody :: FCode a -> FCode aghc-lib GHC.StgToCmm.Monad No documentation available.
foreignRegister :: StgRet -> JStgExprghc-lib GHC.StgToJS.Regs Given a register, return the JS syntax object representing that register
forkM :: SDoc -> IfL a -> IfL aghc-lib GHC.Tc.Utils.Monad Run thing_inside in an interleaved thread. It shares everything with the parent thread, so this is DANGEROUS. It throws an error if the computation fails It's used for lazily type-checking interface signatures, which is pretty benign. See Note [Masking exceptions in forkM]
forElemId :: JSString -> Perch -> Perchghcjs-perch GHCJS.Perch Apply action to perch with given identifier.
forElemId_ :: JSString -> Perch -> IO ()ghcjs-perch GHCJS.Perch IO version of forElemId_.
forElems :: JSString -> Perch -> Perchghcjs-perch GHCJS.Perch JQuery-like DOM manipulation. It applies the Perch DOM manipulation for each found element using querySelectorAll function.
forElems_ :: JSString -> Perch -> IO ()ghcjs-perch GHCJS.Perch Like forElems, but works in IO monad. Example:
import GHCJS.Foreign.Callback (asyncCallback1) main = do body <- getBody makeRed <- asyncCallback1 (\ _ -> do forElems_ ".changeable" $ this ! style "color:red") (flip build) body . div $ do div ! atr "class" "changeable" $ "Changeable" div "Static" div ! atr "class" "changeable" $ "Changeable" addEvent this Click makeRed