-
Notifications
You must be signed in to change notification settings - Fork 70
Home
HeinrichApfelmus edited this page Jan 18, 2011
·
11 revisions
Feel free to edit these Wiki pages! In particular concerning questions, documentation etc.
Some documentation can be found in the doc/
subdirectory.
Finish up the Reative library. In particular:
- Think up a good name for the
Change
data type. It should be mnemonic for both events and behaviors. Currently, it's only mnemonic for behaviors - Optimize
Behavior
for the case of pure functions, so that we can make use the applicative instance when we want tofmap
something. - Behavior version of
accumulate
,filter
. Should they be overloaded as well? Or should users always interject apure
to use them?
-
The following functions will be overloaded. Note that
apply
is the behavioral version ofmap
, but I think distinct names make sense here. Note that the non-overloaded version ofmap
is calledfmap
, so there is no clash with the prelude.apply :: Behavior (a -> t) -> Event a -> Event b map :: (a -> t) -> Event a -> Event b accumulate :: (b -> a -> t) -> b -> Event a -> Behavior b