This repository was archived by the owner on Feb 2, 2021. It is now read-only.
Commit dd68bd0
Add
* Add `mapWithAccum` to FRP.Event
The Event class now exports the `mapWithAccum` function. There was
originally concern that this would cause a huge composition chain, and
thus not be performant for events over a long period. However, I've
expanded the point-free folding function definition, so it's hopefully
now a bit clearer that it shouldn't happen. As always, though, @paf31,
do tell me if I'm being ignorant!
* Implement code review changes
s/mapWithAccum/mapAccum/g, and actually remembered to export it... >_<mapWithAccum to FRP.Event (#14)1 parent 0583024 commit dd68bd0
1 file changed
+11
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| 18 | + | |
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
| 24 | + | |
22 | 25 | | |
23 | 26 | | |
24 | 27 | | |
| |||
72 | 75 | | |
73 | 76 | | |
74 | 77 | | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
75 | 86 | | |
76 | 87 | | |
77 | 88 | | |
| |||
0 commit comments