The sodium package
A general purpose Reactive Programming (FRP) system. This is part of a project to implement reactive libraries with similar interfaces across a range of programming languages at http://reactiveprogramming.org/
Goals include simplicity and completeness.
Applicative style: Event implements Functor and Behaviour implements Applicative.
Instead of the common approach where inputs are fed into the front of a monolithic 'reactimate', Sodium allows you to push inputs in from scattered places in IO.
Integration with IO: Extensible to provide lots of scope for lifting IO into FRP logic.
Push-based imperative implementation.
See the examples directory for test cases and examples.
Changes: 0.2.0.0 fix some value recursion deadlocks and improve docs; 0.3.0.0 add mergeWith, make cross asynchronous; 0.4.0.0 API revamp to remove an excess type variable. Parallelism stuff to be rethought; 0.5.0.0 Improved tests cases + add Freecell example, API tweaks; 0.5.0.1 Internal improvements; 0.5.0.2 Fix multiple memory leaks
Properties
| Versions | 0.1.0.0, 0.2.0.0, 0.3.0.0, 0.3.0.1, 0.4.0.0, 0.5.0.0, 0.5.0.1, 0.5.0.2, 0.6 |
|---|---|
| Dependencies | base (≥4.3.0.0 & <4.7.0.0), containers (≥0.4.0.0 & <0.6.0.0), mtl (≥2.0.0.0 & <2.2.0.0) |
| License | BSD3 |
| Copyright | (c) Stephen Blackheath 2012 |
| Author | Stephen Blackheath |
| Maintainer | http://blacksapphire.com/antispam/ |
| Category | FRP |
| Source repository | git clone https://github.com/kentuckyfriedtakahe/sodium |
| Upload date | Mon Jul 30 16:16:29 UTC 2012 |
| Uploaded by | StephenBlackheath |
| Built on | ghc-7.4 |
Modules
Downloads
- sodium-0.5.0.2.tar.gz (Cabal source package)
- package description (included in the package)