ghc-lib-parser-9.12.2.20250421: The GHC API, decoupled from GHC versions

Safe Haskell | Ignore
Language | GHC2021

GHC.Utils.GlobalVars

Description

Do not use global variables!

Global variables are a hack. Do not use them if you can help it.

# Documentation

v_unsafeHasPprDebug :: IORef Bool Source #

v_unsafeHasNoDebugOutput :: IORef Bool Source #

v_unsafeHasNoStateHack :: IORef Bool Source #

unsafeHasPprDebug :: Bool Source #

unsafeHasNoDebugOutput :: Bool Source #

unsafeHasNoStateHack :: Bool Source #

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 #