The global-variables package

[Tags: bsd3, library]

Data.Global provides a global namespace of IORefs, MVars and TVars. This namespace may be accessed in pure code. Yet reading and writing to those IORefs, MVars and TVars happens still in their respective monads.

Data.Global is designed to meet the following use cases:

Note, that this library does not encourage sloppy software design by re-introducing all bad effects of global variables. Nevertheless, sometimes global variables are a suitable solution to a problem. In that case Data.Global simplifies and extends their handling significantly.

Examples are in the documentation of Data.Global.


Properties

Versions1.0, 1.0.1.0, 1.0.1.1
Dependenciesbase (==4.*), containers (>=0.3 && <0.5), stm (==2.1.*)
LicenseBSD3
Copyright2011 Jean-Marie Gaillourdet
AuthorJean-Marie Gaillourdet and Patrick Michel
MaintainerJean-Marie Gaillourdet <jmg@gaillourdet.net>
Stabilitystable
CategoryData, Reflection
Bug trackerhttp://bitbucket.org/jmg/global-variables/issues
Source repositoryhead: hg clone http://bitbucket.org/jmg/global-variables
Upload dateWed Oct 12 17:44:21 UTC 2011
Uploaded byJeanMarieGaillourdet
Downloads182 total (19 in last 30 days)

Modules

Downloads

Maintainers' corner

For package maintainers and hackage trustees