Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- runIORefs :: ProgramWithHandler IORefs es a -> Program es a
- newIORef :: Member IORefs es => a -> Program es (IORef a)
- readIORef :: Member IORefs es => IORef a -> Program es a
- writeIORef :: Member IORefs es => IORef a -> a -> Program es ()
- modifyIORef :: Member IORefs es => IORef a -> (a -> a) -> Program es ()
- modifyIORef' :: Member IORefs es => IORef a -> (a -> a) -> Program es ()
- atomicModifyIORef :: Member IORefs es => IORef a -> (a -> (a, b)) -> Program es b
- atomicModifyIORef' :: Member IORefs es => IORef a -> (a -> (a, b)) -> Program es b
- data IORefs m a