monad-statevar

Version 0.1 revision 0 uploaded by JoeyAdams.

Package meta

Synopsis
Concise, overloaded accessors for IORef, STRef, TVar
Description

Overloaded get and put for state variables (IORef, STRef, TVar) to make reading and writing more concise.

Inspired by the StateVar package by Sven Panne, with the following differences:

  • Supports variables in other monads besides IO (e.g. TVar, STRef).

  • Provides non-infix put, modify, etc.

  • Does not provide concrete state variables (i.e. ones where you supply get and put callbacks). If you want this feature, please submit an issue.

  • Named "Control.Monad.StateVar" instead of "Data.StateVar", to avoid a module naming conflict.

Author
Joey Adams
Bug reports
http://github.com/joeyadams/hs-monad-statevar/issues
Category
Data
Copyright
Copyright (c) Joseph Adams 2013
Homepage
http://github.com/joeyadams/hs-monad-statevar
Maintainer
joeyadams3.14159@gmail.com
Package URL
n/a
Stability
n/a

Components