ghc-9.2.0.20210821: The GHC API
Safe HaskellSafe-Inferred
LanguageHaskell2010

GHC.Utils.GlobalVars

Documentation

global :: a -> IORef a Source #

consIORef :: IORef [a] -> a -> IO () Source #

globalM :: IO a -> IORef a Source #

sharedGlobal :: a -> (Ptr (IORef a) -> IO (Ptr (IORef a))) -> IORef a Source #

sharedGlobalM :: IO a -> (Ptr (IORef a) -> IO (Ptr (IORef a))) -> IORef a Source #