sodium: Sodium Reactive Programming (FRP) System

[ bsd3, frp, library ] [ Propose Tags ] [ Report a vulnerability ]

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;

  • 0.6 - Minor API changes, particular with accum;

  • 0.6.0.1 - ghc-7.8 compatibility;

  • 0.6.0.2 - Fix memory leak - see memory-test-8 & memory-test-8a;

  • 0.7.0.0 - Add split primitive.

  • 0.8.0.0 - Add executeIO primitive.

  • 0.9.0.0 - Rename changes to updates. Rename values to value.

  • 0.10.0.0 - Add Monoid instance to Event - thanks Finlay Thompson.

  • 0.10.0.1 - Fix finalizer issue that caused breakage in ghc-7.8 - thanks Luite Stegeman.

  • 0.10.0.2 - Second attempt.

  • 0.11.0.0 - Make merge left-biased, like Reactive Banana.

  • 0.11.0.1 - Fix regression when using in ghc-7.8: prevent keepAlive from being GC'd early

  • 0.11.0.2 - Thank you Samuel Gélineau. Fix breakage in 0.11.0.1.

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 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, 0.6.0.1, 0.6.0.2, 0.7.0.0, 0.8.0.0, 0.9.0.0, 0.10.0.0, 0.10.0.1, 0.10.0.2, 0.11.0.1, 0.11.0.2, 0.11.0.3
Dependencies base (>=4.3.0.0 && <4.9.0.0), containers (>=0.4.0.0 && <0.6.0.0), mtl (>=2.0.0.0 && <2.3.0.0) [details]
License BSD-3-Clause
Copyright (c) Stephen Blackheath 2012-2013
Author Stephen Blackheath
Maintainer Stephen Blackheath <sodium2.stephen@blacksapphire.com>
Category FRP
Source repo head: git clone https://github.com/kentuckyfriedtakahe/sodium
Uploaded by StephenBlackheath at 2014-12-30T01:02:42Z
Distributions
Reverse Dependencies 5 direct, 1 indirect [details]
Downloads 15883 total (78 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2014-12-30 [all 1 reports]