Popularity
7.9
Stable
Activity
0.0
Stable
38
5
4

Monthly Downloads: 17
Programming language: Haskell
License: BSD 3-clause "New" or "Revised" License
Tags: Data     Control    
Latest version: v0.5.2

lensref alternatives and similar packages

Based on the "Control" category.
Alternatively, view lensref alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of lensref or a related project?

Add another 'Control' Package

README

lensref: State-based FRP framework

lensref is an FRP framework which is built around views of the program state. The views can be editable or non-editable.

An editable view of the program state can be modelled by a lens whose domain is the program state. In lensrefs terminology such views are called references. lensref provides combinators to create references with bidirectional dependencies between them which are automatically maintained as the program state evolves.

A non-editable view of the program state can be modelled by a function whose domain is the program state. In lensrefs terminology such views are called state-varying values or read-only references. State-varying values form a monad.

Compared to other FRP frameworks, lensref has an emphasis on state-varying values rather than time-varying values. The program state varies by time so a state-varying value is also time-varying value but the opposite direction is generally not true because the program may have the same state in different time intervals.

Links