Copyright | (c) 2015 Schell Scivally |
---|---|
License | MIT |
Maintainer | Schell Scivally <schell.scivally@synapsegroup.com> |
Safe Haskell | None |
Language | Haskell2010 |
The simplest, squishiest FRP library around.
Core
- Get started writing varying values (also called streams) using the pure
constructor
var
, the monadic constructorvarM
or the raw constructorVar
Event
- Write event streams using the many event emitters and combinators.
Tween
- Tween numerical values over time using interpolation functions and the
"quick 'n dirty" time generators in
Time
. Time
- The
Time
module is not reexported because some of the functions collide with those inEvent
- namelybefore
andafter
. I think this is okay because in my experience most modules will either deal with events based on user input or events based on time, an in rare cases both - but in that case the majority of streams will be of one type making the choice of which module to import qualified an easy one. The time generatordeltaUTC
inTime
is practical and based ongetCurrentTime
. It's meant to be simple, not optimal.
- module Control.Varying.Core
- module Control.Varying.Event
- module Control.Varying.Tween