reactive-0.0: Simple foundation for functional reactive programmingSource codeContentsIndex
Data.Fun
Stabilityexperimental
Maintainerconal@conal.net
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 aconstant function
Fun (t -> a)non-constant function
show/hide Instances
apply :: Fun t a -> t -> aSource
Fun as a function
Produced by Haddock version 2.3.0