@hackage / keera-hails-reactivevalues

Haskell on Rails - Reactive Values

Latest0.8.0

About

Metadata

  • Last updated , by keera_studios_ci
  • License BSD-3-Clause
  • Categories Development
  • Maintained by: support@keera.co.uk

  • Lottery factor: 0

Links

Installation

Package Flags

Use the -f option with cabal commands to enable flags

    test-hlint (on by default)
    test-doc-coverage (on by default)
    test-unit-tests (on by default)

Readme

This package contains a general definition of Reactive Values and several useful combinators. A reactive value is a typed mutable value with access properties and change propagation. Access property can be read-only, read-write or read-write.

How an RV is actually implemented, and when and how change propagation is executed is dependent on each RV. For instance, Gtk widget properties would normally use the standard event-handler installers to implement change propagation, whereas pure Haskell values might fork a thread (or not) and propagate changes asynchronously.

RVs can be created from pure models (see <https://github.com/keera-studios/keera-hails/tree/master/keera-hails-mvc-model-lightmodel keera-hails-mvc-model-lightmodel> and <https://github.com/keera-studios/keera-hails/tree/master/keera-hails-mvc-model-protectedmodel keera-hails-mvc-model-protectedmodel>), Gtk+/WX/Qt/HTML DOM/Android widget properties/event handlers/getters/setters, files, sockets, FRP networks. Other backends are also available. See keera-hails for a list of available backends, tutorials, etc.