Copyright | Copyright (c) 2009-2013, David Sorokin <david.sorokin@gmail.com> |
---|---|
License | BSD3 |
Maintainer | David Sorokin <david.sorokin@gmail.com> |
Stability | experimental |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Tested with: GHC 7.8.3
This module defines an updatable reference that depends on the event queue.
Documentation
refChanged :: Ref a -> Signal a Source
Return a signal that notifies about every change of the reference state.
refChanged_ :: Ref a -> Signal () Source
Return a signal that notifies about every change of the reference state.
newRef :: a -> Simulation (Ref a) Source
Create a new reference.