reactive-0.8.6: Simple foundation for functional reactive programmingSource codeContentsIndex
FRP.Reactive.Internal.TVal
Stabilityexperimental
Maintainerconal@conal.net
Description
Timed values. A primitive interface for futures.
Synopsis
makeFuture :: Clock TimeT -> MkFed (FutureG ITime a) a
makeEvent :: Clock TimeT -> MkFed (Event a) a
type Fed a b = (a, Sink b)
type MkFed a b = IO (Fed a b)
Documentation
makeFuture :: Clock TimeT -> MkFed (FutureG ITime a) aSource
Make a connected sink/future pair. The sink may only be written to once.
makeEvent :: Clock TimeT -> MkFed (Event a) aSource
Make a new event and a sink that writes to it. Uses the given clock to serialize and time-stamp.
type Fed a b = (a, Sink b)Source
An a that's fed by a b
type MkFed a b = IO (Fed a b)Source
Make a Fed.
Produced by Haddock version 2.3.0