reactive-0.10.3: Simple foundation for functional reactive programmingSource codeContentsIndex
FRP.Reactive.Internal.Fun
Stabilityexperimental
Maintainerconal@conal.net
Description
Constant-optimized representation of functions.
Synopsis
data Fun t a
= K a
| Fun (t -> a)
Documentation
data Fun t a Source
Constant-optimized functions
Constructors
K aconstant function
Fun (t -> a)non-constant function
show/hide Instances
Arrow Fun
Category Fun
Monad (Fun t)
Functor (Fun t)
Applicative (Fun t)
Zip (Fun t)
Monoid t => Comonad (Fun t)
Pointed (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)
Produced by Haddock version 2.4.2