Yampa-0.10.4: Library for programming hybrid systems.

Copyright(c) Antony Courtney and Henrik Nilsson, Yale University, 2003
LicenseBSD-style (see the LICENSE file in the distribution)
Maintainernilsson@cs.yale.edu
Stabilityprovisional
Portabilityportable
Safe HaskellSafe
LanguageHaskell98

FRP.Yampa.Internals

Description

An interface giving access to some of the internal details of the Yampa implementation.

This interface is indended to be used when the need arises to break abstraction barriers, e.g. for interfacing Yampa to the real world, for debugging purposes, or the like. Be aware that the internal details may change. Relying on this interface means that your code is not insulated against such changes.

Synopsis

Documentation

data Event a Source

A single possible event occurrence, that is, a value that may or may not occur. Events are used to represent values that are not produced continuously, such as mouse clicks (only produced when the mouse is clicked, as opposed to mouse positions, which are always defined).

Constructors

NoEvent 
Event a 

Instances

Monad Event Source

Monad instance

Functor Event Source

Functor instance (could be derived).

Applicative Event Source

Applicative instance (similar to Maybe).

Alternative Event Source

Alternative instance

Eq a => Eq (Event a) Source

Eq instance (equivalent to derived instance)

Ord a => Ord (Event a) Source

Ord instance (equivalent to derived instance)

Show a => Show (Event a) Source 
NFData a => NFData (Event a) Source

NFData instance

Forceable a => Forceable (Event a) Source

Forceable instance