reactive-0.3: Simple foundation for functional reactive programming
Source code
Contents
Index
Data.Fun
Stability
experimental
Maintainer
[email protected]
Description
Functions, with constant functions optimized. With instances of
Functor
,
Applicative
,
Monad
, and
Arrow
Synopsis
data
Fun
t a
=
K
a
|
Fun
(t -> a)
apply
::
Fun
t a -> t -> a
Documentation
data
Fun
t a
Source
Constant-optimized functions
Constructors
K
a
constant function
Fun
(t -> a)
non-constant function
Instances
Arrow
Fun
Monad
(
Fun
t)
Functor
(
Fun
t)
Applicative
(
Fun
t)
apply
::
Fun
t a -> t -> a
Source
Fun
as a function
Produced by
Haddock
version 2.3.0