LicenseRef-PublicDomain licensed and maintained by James Cook

Module documentation for 0.3

This version can be pinned in stack with:stateref-0.3@sha256:9c2ff94ac6642ed0e6412a24387e6baed161b4fe5b73deea4345f3d6c30e88f9,3286

A collection of type-classes generalizing the read/write/modify operations for stateful variables provided by things like IORef, TVar, &c. Note that The interface has changed a bit from the 0.2.* version. "*Ref" functions are now called "*Reference" and new "*Ref" function exist with simpler signatures. The new Ref existential type provides a convenient monad-indexed reference type, and the HasRef class indicates monads for which there is a default reference type for every referent.

Depends on 3 packages(full list with versions):
Used by 1 package in lts-14.16(full list with versions):
comments powered byDisqus