KiCS-0.9.3: A compiler from Curry to Haskell

Safe HaskellSafe-Infered

Curry.Module.Global

Documentation

type C_Global t0 = Prim (IORef t0)Source

type C_IORef a = Prim (IORef a)Source

newIORef :: Curry t0 => t0 -> Result (C_IO (C_IORef t0))Source

c_writeGlobal :: Curry t0 => C_Global t0 -> t0 -> State -> C_IO T0Source