reactive-0.9.4: Simple foundation for functional reactive programmingSource codeContentsIndex
FRP.Reactive.Fun
Stabilityexperimental
Maintainerconal@conal.net
Description
Functions, with constant functions optimized. With instances of Functor, Applicative, Monad, and Arrow
Synopsis
data Fun t a
fun :: (t -> a) -> Fun t a
apply :: Fun t a -> t -> a
batch :: TestBatch
Documentation
data Fun t a Source
Constant-optimized functions
show/hide Instances
Arrow Fun
Category Fun
Monad (Fun t)
Functor (Fun t)
Applicative (Fun t)
Monoid t => Comonad (Fun t)
Monoid t => Copointed (Fun t)
Model1 (Fun a) ((->) a)
Show b => Show (Fun a b)
(Arbitrary a, Arbitrary b) => Arbitrary (Fun a b)
Monoid a => Monoid (Fun t a)
(Show a, Arbitrary a, EqProp a, EqProp b) => EqProp (Fun a b)
Model (Fun a b) (a -> b)
fun :: (t -> a) -> Fun t aSource
apply :: Fun t a -> t -> aSource
Fun as a function
batch :: TestBatchSource
Produced by Haddock version 2.3.0