value-supply: A library for generating values without having to thread state.

[ bsd3, data, library ] [ Propose Tags ]
Versions 0.1, 0.2, 0.3, 0.4, 0.5, 0.6
Dependencies base [details]
License BSD-3-Clause
Author Iavor S. Diatchki
Category Data
Uploaded by IavorDiatchki at Sun Jan 27 01:09:45 UTC 2008
Distributions NixOS:0.6
Downloads 2739 total (20 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI

This library can be used to generate values (for example, new names) without the need to thread state. This means that functions that need to generate new values only need a supply object as an argument, and they do not need to return a new supply object as a result. This decreases the number of data-dependencies in a program, which makes it easier to exploit parallelism. The technique for generating new values is based on the paper ''On Generating Unique Names'' by Lennart Augustsson, Mikael Rittri, and Dan Synek.




Maintainer's Corner

For package maintainers and hackage trustees