Agda-2.6.0.1: A dependently typed functional programming language and proof assistant

Safe Haskell | Safe
Language | Haskell2010

Agda.Utils.IORef

Description

Utilities for Data.IORef.

Synopsis

- module Data.IORef
- readModifyIORef' :: IORef a -> (a -> a) -> IO a

# Documentation

module Data.IORef

readModifyIORef' :: IORef a -> (a -> a) -> IO a Source #

Read `IORef`, modify it strictly, and return old value.