reactive-0.9.6: Simple foundation for functional reactive programming
Source code
Contents
Index
FRP.Reactive.Improving
Stability
experimental
Maintainer
conal@conal.net
Description
Improving values -- efficient version
Synopsis
data
Improving
a =
Imp
{
exact
:: a
compareI
:: a ->
Ordering
}
exactly
::
Ord
a => a ->
Improving
a
minI
::
Ord
a =>
Improving
a ->
Improving
a -> (
Improving
a,
Bool
)
maxI
::
Ord
a =>
Improving
a ->
Improving
a -> (
Improving
a,
Bool
)
Documentation
data
Improving
a
Source
An improving value.
Constructors
Imp
exact
:: a
compareI
:: a ->
Ordering
Instances
Eq
a =>
Eq
(
Improving
a)
Ord
a =>
Ord
(
Improving
a)
EqProp
a =>
EqProp
(
Improving
a)
exactly
::
Ord
a => a ->
Improving
a
Source
A known improving value (which doesn't really improve)
minI
::
Ord
a =>
Improving
a ->
Improving
a -> (
Improving
a,
Bool
)
Source
Efficient combination of
min
and '(<=)'
maxI
::
Ord
a =>
Improving
a ->
Improving
a -> (
Improving
a,
Bool
)
Source
Efficient combination of
max
and '(>=)'
Produced by
Haddock
version 2.3.0